parisc: clear floating point exception flag on SIGFPE signal
commit447926d82934a627152b3841b8014b5b9e01d48d
authorHelge Deller <deller@gmx.de>
Mon, 3 May 2010 20:44:21 +0000 (3 20:44 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Jul 2010 18:23:07 +0000 (5 11:23 -0700)
tree71d657aa72edfcaff324b466fd35ba30ecbc6cec
parent36346c14bde58f34c0a2df91635895f943eeb58b
parisc: clear floating point exception flag on SIGFPE signal

commit 550f0d922286556c7ea43974bb7921effb5a5278 upstream.

Clear the floating point exception flag before returning to
user space. This is needed, else the libc trampoline handler
may hit the same SIGFPE again while building up a trampoline
to a signal handler.

Fixes debian bug #559406.

Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/parisc/math-emu/decode_exc.c