patch-2.1.30 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: 20
- Date:
Thu Mar 20 17:25:10 1997
- Orig file:
v2.1.29/linux/kernel/panic.c
- Orig date:
Thu Dec 19 01:03:37 1996
diff -u --recursive --new-file v2.1.29/linux/kernel/panic.c linux/kernel/panic.c
@@ -14,9 +14,9 @@
#include <linux/sched.h>
#include <linux/delay.h>
#include <linux/smp.h>
+#include <linux/reboot.h>
asmlinkage void sys_sync(void); /* it's really int */
-extern void hard_reset_now(void);
extern void do_unblank_screen(void);
extern int C_A_D;
@@ -62,7 +62,7 @@
* choosing not too. It might crash, be corrupt or do
* more harm than good for other reasons.
*/
- hard_reset_now();
+ machine_restart(NULL);
}
#ifdef __sparc__
printk("Press L1-A to return to the boot prom\n");
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov