projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f82567e
)
[PATCH] In hangcheck-timer.c call emergency_restart()
author
Eric W. Biederman
<ebiederm@xmission.com>
Tue, 26 Jul 2005 17:55:59 +0000
(11:55 -0600)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Tue, 26 Jul 2005 21:35:44 +0000
(14:35 -0700)
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>
drivers/char/hangcheck-timer.c
patch
|
blob
|
history
diff --git
a/drivers/char/hangcheck-timer.c
b/drivers/char/hangcheck-timer.c
index 78e650fc5b411c076ce288b9926c22a1dcd239fb..81d811edf3c58ec478dd73cb239fd2714bb84f32 100644
(file)
--- 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");
}