Skip to content

Commit 970d324

Browse files
ebiedermLinus Torvalds
authored andcommitted
[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>
1 parent f82567e commit 970d324

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/char/hangcheck-timer.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ static void hangcheck_fire(unsigned long data)
173173
}
174174
if (hangcheck_reboot) {
175175
printk(KERN_CRIT "Hangcheck: hangcheck is restarting the machine.\n");
176-
machine_restart(NULL);
176+
emergency_restart();
177177
} else {
178178
printk(KERN_CRIT "Hangcheck: hangcheck value past margin!\n");
179179
}

0 commit comments

Comments
 (0)