]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
s390/process: fix sfpc inline assembly
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 6 Jul 2015 13:02:37 +0000 (15:02 +0200)
committerZefan Li <lizefan@huawei.com>
Mon, 21 Mar 2016 01:17:43 +0000 (09:17 +0800)
commit697e9c446d5081ed571f215dc9b4a7509bd06a50
treef1fcaf3a0e70247e459ed28b9532d6696a86be9e
parenteda27b22b978281403a883591331e7c65bf4a8f5
s390/process: fix sfpc inline assembly

commit e47994dd44bcb4a77b4152bd0eada585934703c0 upstream.

The sfpc inline assembly within execve_tail() may incorrectly set bits
28-31 of the sfpc instruction to a value which is not zero.
These bits however are currently unused and therefore should be zero
so we won't get surprised if these bits will be used in the future.

Therefore remove the second operand from the inline assembly.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
[lizf: Backported to 3.4: adjust context]
Signed-off-by: Zefan Li <lizefan@huawei.com>
arch/s390/kernel/process.c