patch-2.4.21 linux-2.4.21/arch/ia64/kernel/traps.c
Next file: linux-2.4.21/arch/ia64/kernel/unaligned.c
Previous file: linux-2.4.21/arch/ia64/kernel/sys_ia64.c
Back to the patch index
Back to the overall index
-  Lines: 10
-  Date:
2003-06-13 07:51:29.000000000 -0700
-  Orig file: 
linux-2.4.20/arch/ia64/kernel/traps.c
-  Orig date: 
2002-11-28 15:53:09.000000000 -0800
diff -urN linux-2.4.20/arch/ia64/kernel/traps.c linux-2.4.21/arch/ia64/kernel/traps.c
@@ -142,7 +142,8 @@
 	siginfo.si_isr = 0;
 
 	switch (break_num) {
-	      case 0: /* unknown error */
+	      case 0: /* unknown error (used by GCC for __builtin_abort()) */
+		die_if_kernel("Bad break", regs, break_num);
 		sig = SIGILL; code = ILL_ILLOPC;
 		break;
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)