summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-05-12 21:21:14 +0200
committerThomas Gleixner <tglx@linutronix.de>2008-05-25 06:35:19 +0200
commit1c4cd6dd1d0fd3057bb6b8c87460049497889d1b (patch)
tree558e7e885e76db657b3617a9a3cc62529c327d0a
parentsoftlockup: fix softlockup_thresh unaligned access and disable detection at r... (diff)
downloadlinux-1c4cd6dd1d0fd3057bb6b8c87460049497889d1b.tar.xz
linux-1c4cd6dd1d0fd3057bb6b8c87460049497889d1b.zip
softlockup: fix softlockup_thresh fix
Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r--kernel/sysctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 31c19a79738d..a829dc8d7a9e 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -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