more patches
[linux-2.6.git] / linux-2.6-650-hangcheck-reboot.patch
1 diff --git a/drivers/char/hangcheck-timer.c b/drivers/char/hangcheck-timer.c
2 index 712d9f2..054c4df 100644
3 --- a/drivers/char/hangcheck-timer.c
4 +++ b/drivers/char/hangcheck-timer.c
5 @@ -57,7 +57,7 @@
6  
7  static int hangcheck_tick = DEFAULT_IOFENCE_TICK;
8  static int hangcheck_margin = DEFAULT_IOFENCE_MARGIN;
9 -static int hangcheck_reboot;  /* Defaults to not reboot */
10 +static int hangcheck_reboot = 1;  /* Defaults to reboot */
11  static int hangcheck_dump_tasks;  /* Defaults to not dumping SysRQ T */
12  
13  /* options - modular */
14 @@ -175,8 +175,8 @@ static void hangcheck_fire(unsigned long data)
15  
16  static int __init hangcheck_init(void)
17  {
18 -       printk("Hangcheck: starting hangcheck timer %s (tick is %d seconds, margin is %d seconds).\n",
19 -              VERSION_STR, hangcheck_tick, hangcheck_margin);
20 +       printk("Hangcheck: starting hangcheck timer %s (tick is %d seconds, margin is %d seconds, reboot is %d).\n",
21 +              VERSION_STR, hangcheck_tick, hangcheck_margin, hangcheck_reboot);
22  #if defined (HAVE_MONOTONIC)
23         printk("Hangcheck: Using monotonic_clock().\n");
24  #else