aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/switch_to.h
diff options
context:
space:
mode:
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>2015-04-28 11:30:40 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2015-07-22 09:57:59 +0200
commit4084eb7767418861a81d9e24d222f2536537f58e (patch)
treee533df4cfdf143e99de369174ff39700b3d38fca /arch/s390/include/asm/switch_to.h
parents390/kernel: move EX_TABLE macros to linkage.h header file (diff)
downloadlinux-dev-4084eb7767418861a81d9e24d222f2536537f58e.tar.xz
linux-dev-4084eb7767418861a81d9e24d222f2536537f58e.zip
s390/kernel: use test_fp_ctl() to verify the floating-point control word
Use the test_fp_ctl() to test the floating-point control word for validity and use restore_fp_ctl() to set it in load_sigregs. Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/switch_to.h')
-rw-r--r--arch/s390/include/asm/switch_to.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/s390/include/asm/switch_to.h b/arch/s390/include/asm/switch_to.h
index d62e7a69605f..b304031d9d11 100644
--- a/arch/s390/include/asm/switch_to.h
+++ b/arch/s390/include/asm/switch_to.h
@@ -45,7 +45,6 @@ static inline int restore_fp_ctl(u32 *fpc)
" lfpc %1\n"
"0: la %0,0\n"
"1:\n"
- EX_TABLE(0b,1b)
: "=d" (rc) : "Q" (*fpc), "0" (-EINVAL));
return rc;
}