patch-1.3.53 linux/arch/ppc/kernel/traps.c
Next file: linux/arch/ppc/mm/Makefile
Previous file: linux/arch/ppc/kernel/stubs.c
Back to the patch index
Back to the overall index
-  Lines: 19
 -  Date:
Sat Dec 30 15:48:22 1995
 -  Orig file: 
v1.3.52/linux/arch/ppc/kernel/traps.c
 -  Orig date: 
Mon Nov 27 12:48:26 1995
 
diff -u --recursive --new-file v1.3.52/linux/arch/ppc/kernel/traps.c linux/arch/ppc/kernel/traps.c
@@ -26,7 +26,7 @@
 #include <asm/system.h>
 #include <asm/io.h>
 
-#include <asm/processor.h>
+#include <asm/ppc_machine.h>
 
 /*
  * Trap & Exception support
@@ -68,7 +68,8 @@
 ProgramCheckException(struct pt_regs *regs)
 {
 	printk("Program check at PC: %x[%x], SR: %x\n", regs->nip, va_to_phys(regs->nip), regs->msr);
-	_exception(SIGILL, regs);	
+	while(1) ;
+	_exception(SIGILL, regs);
 }
 
 FloatingPointCheckException(struct pt_regs *regs)
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