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

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)