diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2005-07-26 11:55:59 -0600 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-26 14:35:44 -0700 |
commit | 970d32443e3d0be57a5cdc3de3752f528424b73d (patch) | |
tree | cf39589a581d461d5ed4a9311cb236dbe8544453 /drivers/char/hangcheck-timer.c | |
parent | f82567e55fcd25bb7addf2cfd8b79f36f409dc2e (diff) | |
download | linux-970d32443e3d0be57a5cdc3de3752f528424b73d.tar.gz linux-970d32443e3d0be57a5cdc3de3752f528424b73d.tar.bz2 linux-970d32443e3d0be57a5cdc3de3752f528424b73d.zip |
[PATCH] In hangcheck-timer.c call emergency_restart()
If we've hung a clean reboot does not sound like a real
option.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/hangcheck-timer.c')
-rw-r--r-- | drivers/char/hangcheck-timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/hangcheck-timer.c b/drivers/char/hangcheck-timer.c index 78e650fc5b41..81d811edf3c5 100644 --- a/drivers/char/hangcheck-timer.c +++ b/drivers/char/hangcheck-timer.c @@ -173,7 +173,7 @@ static void hangcheck_fire(unsigned long data) } if (hangcheck_reboot) { printk(KERN_CRIT "Hangcheck: hangcheck is restarting the machine.\n"); - machine_restart(NULL); + emergency_restart(); } else { printk(KERN_CRIT "Hangcheck: hangcheck value past margin!\n"); } |