softlockup: fix softlockup_thresh fix
authorIngo Molnar <mingo@elte.hu>
Mon, 12 May 2008 19:21:14 +0000 (21:21 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 25 May 2008 04:35:19 +0000 (06:35 +0200)
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/sysctl.c

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