patch-1.3.2 linux/arch/alpha/kernel/traps.c

Next file: linux/arch/alpha/lib/Makefile
Previous file: linux/arch/alpha/kernel/setup.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.1/linux/arch/alpha/kernel/traps.c linux/arch/alpha/kernel/traps.c
@@ -54,6 +54,7 @@
 {
 	printk("Arithmetic trap: %02lx %016lx\n", summary, write_mask);
 	die_if_kernel("Arithmetic fault", &regs, 0);
+	send_sig(SIGFPE, current, 1);
 }
 
 asmlinkage void do_entIF(unsigned long type, unsigned long a1, unsigned long a2,
@@ -61,6 +62,7 @@
 	struct pt_regs regs)
 {
 	die_if_kernel("Instruction fault", &regs, type);
+	send_sig(SIGILL, current, 1);
 }
 
 /*

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this