]> git.baikalelectronics.ru Git - kernel.git/commit
s390/fpu: signals vs. floating point control register
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 19 Feb 2016 14:29:05 +0000 (15:29 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 22 Feb 2016 08:29:35 +0000 (09:29 +0100)
commit9773cf632debf0a3e125a706d5fd1b64a08604f1
treec6c5fd79a1215194de5c685868830f190e2bf1e1
parentefcc50dfade2fc4a46187fccce2dc5cf85b412a3
s390/fpu: signals vs. floating point control register

git commit 9dc0b9a5da18fafbb3be2f2302dd37e51a759b92
"s390/kernel: introduce fpu-internal.h with fpu helper functions"
introduced the fpregs_store / fp_regs_load helper. These function
fail to save and restore the floating pointer control registers.

The effect is that the FPC is not correctly handled on signal
delivery and signal return.

Cc: stable@vger.kernel.org # 4.4
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/fpu/internal.h