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
-  Lines: 16
-  Date:
Wed Jun 14 13:43:14 1995
-  Orig file: 
v1.3.1/linux/arch/alpha/kernel/traps.c
-  Orig date: 
Thu Jun  1 13:22:06 1995
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", ®s, 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", ®s, 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