OSDN Git Service
(root)
/
android-x86
/
kernel.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
78e650f
..
81d811e
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");
}