]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
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)
committerJohn Linn <john.linn@xilinx.com>
Wed, 30 Nov 2011 04:32:41 +0000 (20:32 -0800)
commitf5d730509ff88cc59be837a7588889765fc3b61f
treea78ba925b273575592fdaa15780dfee2b7dadb56
parenta6d925435a4e5360672ab336f1ff299706bfd28e
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