Browse Source

softlockup: fix softlockup_thresh fix

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Ingo Molnar 17 years ago
parent
commit
1c4cd6dd1d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      kernel/sysctl.c

+ 1 - 1
kernel/sysctl.c

@@ -84,7 +84,7 @@ extern int latencytop_enabled;
 extern int sysctl_nr_open_min, sysctl_nr_open_max;
 extern int sysctl_nr_open_min, sysctl_nr_open_max;
 
 
 /* Constants used for minimum and  maximum */
 /* Constants used for minimum and  maximum */
-#ifdef CONFIG_HIGHMEM
+#if defined(CONFIG_HIGHMEM) || defined(CONFIG_DETECT_SOFTLOCKUP)
 static int one = 1;
 static int one = 1;
 #endif
 #endif