patch-2.1.17 linux/kernel/panic.c
Next file: linux/kernel/printk.c
Previous file: linux/kernel/ksyms.c
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Thu Dec 19 11:03:37 1996
- Orig file:
v2.1.16/linux/kernel/panic.c
- Orig date:
Thu Dec 12 19:37:21 1996
diff -u --recursive --new-file v2.1.16/linux/kernel/panic.c linux/kernel/panic.c
@@ -13,6 +13,7 @@
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/delay.h>
+#include <linux/smp.h>
asmlinkage void sys_sync(void); /* it's really int */
extern void hard_reset_now(void);
@@ -44,6 +45,9 @@
do_unblank_screen();
+#ifdef __SMP__
+ smp_message_pass(MSG_ALL_BUT_SELF, MSG_STOP_CPU, 0, 0);
+#endif
if (panic_timeout > 0)
{
/*
@@ -60,6 +64,10 @@
*/
hard_reset_now();
}
+#ifdef __sparc__
+ printk("Press L1-A to return to the boot prom\n");
+#endif
+ sti();
for(;;);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov