diff options
author | David Woodhouse <dwmw2@shinybook.infradead.org> | 2005-07-27 09:14:13 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@shinybook.infradead.org> | 2005-07-27 09:14:13 -0400 |
commit | c5fbc3966f48279dbebfde10248c977014aa9988 (patch) | |
tree | 0a52f645d89f91952c26b215f460a4ba195ca42c /kernel/panic.c | |
parent | 39299d9d15c41cbdd7c7009967cd35afaf34d8fa (diff) | |
parent | 9e566d8bd61f939b7f5d7d969f5b178571471cf9 (diff) |
Merge with master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Diffstat (limited to 'kernel/panic.c')
-rw-r--r-- | kernel/panic.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/kernel/panic.c b/kernel/panic.c index 74ba5f3e46c7..aabc5f86fa3f 100644 --- a/kernel/panic.c +++ b/kernel/panic.c | |||
@@ -111,12 +111,11 @@ NORET_TYPE void panic(const char * fmt, ...) | |||
111 | mdelay(1); | 111 | mdelay(1); |
112 | i++; | 112 | i++; |
113 | } | 113 | } |
114 | /* | 114 | /* This will not be a clean reboot, with everything |
115 | * Should we run the reboot notifier. For the moment Im | 115 | * shutting down. But if there is a chance of |
116 | * choosing not too. It might crash, be corrupt or do | 116 | * rebooting the system it will be rebooted. |
117 | * more harm than good for other reasons. | ||
118 | */ | 117 | */ |
119 | machine_restart(NULL); | 118 | emergency_restart(); |
120 | } | 119 | } |
121 | #ifdef __sparc__ | 120 | #ifdef __sparc__ |
122 | { | 121 | { |