From: Hendrik Brueckner Date: Tue, 28 Apr 2015 09:30:40 +0000 (+0200) Subject: s390/kernel: use test_fp_ctl() to verify the floating-point control word X-Git-Tag: omap-for-v4.3/fixes-merge-window~38^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4084eb7767418861a81d9e24d222f2536537f58e;p=pandora-kernel.git 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 Signed-off-by: Martin Schwidefsky --- 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; } Reading git-diff-tree failed