[PATCH 14/23] In hangcheck-timer.c call emergency_restart()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If we've hung a clean reboot does not sound like a real
option.

Signed-off-by: Eric W. Biederman <[email protected]>
---

 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux