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)
commit1b17cb796f5d40ffa239c6926385abd83a77a49b
treec6c5fd79a1215194de5c685868830f190e2bf1e1
parent342300cc9cd3428bc6bfe5809bfcc1b9a0f06702
s390/fpu: signals vs. floating point control register

git commit 904818e2f229f3d94ec95f6932a6358c81e73d78
"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