[MIPS] Maintain si_code field properly for FP exceptions
authorThiemo Seufer <ths@networkno.de>
Wed, 22 Aug 2007 00:42:04 +0000 (01:42 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 27 Aug 2007 01:16:59 +0000 (02:16 +0100)
commit948a34cf3988462090291774e55f21f7efdfb072
tree1f1191db06e1472fbe34b85f97754b2a7864820c
parent34412c7231f513283ab501eea41774b4ae623dcc
[MIPS] Maintain si_code field properly for FP exceptions

The appended patch adds code to update siginfo_t's si_code field. It
fixes e.g. a floating point overflow regression in the SBCL testsuite.

Signed-off-By: Thiemo Seufer <ths@linux-mips.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/traps.c