diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2015-07-06 15:02:37 +0200 |
---|---|---|
committer | Luis Henriques <luis.henriques@canonical.com> | 2015-08-12 09:48:35 +0100 |
commit | 4a957da59a73b0d21ebcd89bf924cc6daa1c655e (patch) | |
tree | ccf1f1f6ae8d4252f667061774fb80b779318c74 /arch/s390/kernel | |
parent | 65f9f71dfb040e93957f4dbab19fb8456c88a6bc (diff) | |
download | linux-stable-4a957da59a73b0d21ebcd89bf924cc6daa1c655e.tar.gz linux-stable-4a957da59a73b0d21ebcd89bf924cc6daa1c655e.tar.bz2 linux-stable-4a957da59a73b0d21ebcd89bf924cc6daa1c655e.zip |
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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'arch/s390/kernel')
-rw-r--r-- | arch/s390/kernel/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/process.c b/arch/s390/kernel/process.c index 93b9ca42e5c0..8a7f7732db1f 100644 --- a/arch/s390/kernel/process.c +++ b/arch/s390/kernel/process.c @@ -195,7 +195,7 @@ asmlinkage void execve_tail(void) { current->thread.fp_regs.fpc = 0; if (MACHINE_HAS_IEEE) - asm volatile("sfpc %0,%0" : : "d" (0)); + asm volatile("sfpc %0" : : "d" (0)); } /* |