Setting tag linux-2.6-27-38
[linux-2.6.git] / linux-2.6-650-hangcheck-reboot.patch
1 diff -NurpP --exclude '*.orig' --exclude '*.rej' linux-2.6.27.10-vs2.3.x-P/drivers/char/hangcheck-timer.c linux-2.6.27.10-vs2.3.x-P650/drivers/char/hangcheck-timer.c
2 --- linux-2.6.27.10-vs2.3.x-P/drivers/char/hangcheck-timer.c    2008-07-13 23:51:29.000000000 +0200
3 +++ linux-2.6.27.10-vs2.3.x-P650/drivers/char/hangcheck-timer.c 2009-01-12 01:18:23.000000000 +0100
4 @@ -57,7 +57,7 @@
5  
6  static int hangcheck_tick = DEFAULT_IOFENCE_TICK;
7  static int hangcheck_margin = DEFAULT_IOFENCE_MARGIN;
8 -static int hangcheck_reboot;  /* Defaults to not reboot */
9 +static int hangcheck_reboot = 1;  /* Defaults to reboot */
10  static int hangcheck_dump_tasks;  /* Defaults to not dumping SysRQ T */
11  
12  /* options - modular */
13 @@ -175,8 +175,8 @@ static void hangcheck_fire(unsigned long
14  
15  static int __init hangcheck_init(void)
16  {
17 -       printk("Hangcheck: starting hangcheck timer %s (tick is %d seconds, margin is %d seconds).\n",
18 -              VERSION_STR, hangcheck_tick, hangcheck_margin);
19 +       printk("Hangcheck: starting hangcheck timer %s (tick is %d seconds, margin is %d seconds, reboot is %d).\n",
20 +              VERSION_STR, hangcheck_tick, hangcheck_margin, hangcheck_reboot);
21  #if defined (HAVE_MONOTONIC)
22         printk("Hangcheck: Using monotonic_clock().\n");
23  #else