Setting tag linux-2.6-22-50
[linux-2.6.git] / linux-2.6-650-hangcheck-reboot.patch
1 --- linux-2.6.22-640/drivers/char/hangcheck-timer.c     2007-07-09 01:32:17.000000000 +0200
2 +++ linux-2.6.22-650/drivers/char/hangcheck-timer.c     2008-11-25 10:22:00.000000000 +0100
3 @@ -57,7 +57,7 @@
4  
5  static int hangcheck_tick = DEFAULT_IOFENCE_TICK;
6  static int hangcheck_margin = DEFAULT_IOFENCE_MARGIN;
7 -static int hangcheck_reboot;  /* Defaults to not reboot */
8 +static int hangcheck_reboot = 1;  /* Defaults to reboot */
9  static int hangcheck_dump_tasks;  /* Defaults to not dumping SysRQ T */
10  
11  /* options - modular */
12 @@ -175,8 +175,8 @@ static void hangcheck_fire(unsigned long
13  
14  static int __init hangcheck_init(void)
15  {
16 -       printk("Hangcheck: starting hangcheck timer %s (tick is %d seconds, margin is %d seconds).\n",
17 -              VERSION_STR, hangcheck_tick, hangcheck_margin);
18 +       printk("Hangcheck: starting hangcheck timer %s (tick is %d seconds, margin is %d seconds, reboot is %d).\n",
19 +              VERSION_STR, hangcheck_tick, hangcheck_margin, hangcheck_reboot);
20  #if defined (HAVE_MONOTONIC)
21         printk("Hangcheck: Using monotonic_clock().\n");
22  #else