]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: clear floating point exception flag on SIGFPE signal
authorHelge Deller <deller@gmx.de>
Mon, 3 May 2010 20:44:21 +0000 (20:44 +0000)
committerKyle McMartin <kyle@dreadnought.i.jkkm.org>
Sun, 30 May 2010 09:39:58 +0000 (05:39 -0400)
commit77f721ad3bb57efd431443112974ad4e61a13147
tree2fea27b82d293da2c2a9ce92c1f6185620470d44
parent74fecbdd759bf1d7e34196da5439edbc19dd9526
parisc: clear floating point exception flag on SIGFPE signal

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>
arch/parisc/math-emu/decode_exc.c