OSDN Git Service

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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Mar 2016 23:07:12 +0000 (15:07 -0800)
commitcaa2a2b56b7313b0f5c8373facc44768d3055f3c
tree35f69496b8efbe55a9db30e700bf5060809cfc0c
parentd70325085f56a5aa544afe5a4765e7ec5c72ccc2
s390/fpu: signals vs. floating point control register

commit 1b17cb796f5d40ffa239c6926385abd83a77a49b upstream.

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.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/s390/include/asm/fpu/internal.h