patch-2.1.43 linux/kernel/panic.c

Next file: linux/kernel/sched.c
Previous file: linux/kernel/ksyms.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.42/linux/kernel/panic.c linux/kernel/panic.c
@@ -16,6 +16,7 @@
 #include <linux/smp.h>
 #include <linux/reboot.h>
 #include <linux/init.h>
+#include <linux/sysrq.h>
 
 asmlinkage void sys_sync(void);	/* it's really int */
 extern void unblank_console(void);
@@ -69,6 +70,8 @@
 	printk("Press L1-A to return to the boot prom\n");
 #endif
 	sti();
-	for(;;);
+	for(;;) {
+		CHECK_EMERGENCY_SYNC
+	}
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov