Messages in this thread Patch in this message | | | Subject | [PATCH 14/23] In hangcheck-timer.c call emergency_restart() | From | (Eric W. Biederman) | Date | Tue, 26 Jul 2005 11:55:59 -0600 |
| |
If we've hung a clean reboot does not sound like a real option.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> ---
drivers/char/hangcheck-timer.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
8d6217cc6e8fa4832c84fb918848ba0eb2e0fb0e diff --git a/drivers/char/hangcheck-timer.c b/drivers/char/hangcheck-timer.c --- a/drivers/char/hangcheck-timer.c +++ b/drivers/char/hangcheck-timer.c @@ -173,7 +173,7 @@ static void hangcheck_fire(unsigned long } 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"); } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |