From: Ingo Molnar Date: Mon, 12 May 2008 19:21:14 +0000 (+0200) Subject: softlockup: fix softlockup_thresh fix X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1c4cd6dd1d0fd3057bb6b8c87460049497889d1b;p=mv-sheeva.git softlockup: fix softlockup_thresh fix Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 31c19a79738..a829dc8d7a9 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