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
- Lines: 18
- Date:
Thu Jun 12 16:22:10 1997
- Orig file:
v2.1.42/linux/kernel/panic.c
- Orig date:
Tue May 13 22:41:20 1997
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