microblaze: Raise SIGFPE/FPE_INTDIV for div by zero
authorEdgar E. Iglesias <edgar.iglesias@petalogix.com>
Mon, 22 Aug 2011 17:58:06 +0000 (19:58 +0200)
committerMichal Simek <monstr@monstr.eu>
Fri, 14 Oct 2011 10:24:31 +0000 (12:24 +0200)
commit15ec090833eeb2ab242c049a68b6224345771619
tree14a752096341a500b1045462830de617c1221e87
parent69515f8b957a4b1558d4726ffa6be2484e1dcb60
microblaze: Raise SIGFPE/FPE_INTDIV for div by zero

It fixes the signal nr raised for divizion by zero from
SIGILL to SIGFPE, in accordance to POSIX and other archs.

This came up due to a failed test in the GCC testsuite.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
arch/microblaze/kernel/exceptions.c