aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r--kernel/sysctl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 3b6b54c8ac0d..6d2aeff92b3d 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -90,6 +90,9 @@ extern int rcutorture_runnable;
90#endif /* #ifdef CONFIG_RCU_TORTURE_TEST */ 90#endif /* #ifdef CONFIG_RCU_TORTURE_TEST */
91 91
92/* Constants used for minimum and maximum */ 92/* Constants used for minimum and maximum */
93#if defined(CONFIG_DETECT_HUNG_TASK) || defined(CONFIG_DETECT_SOFTLOCKUP) || defined(CONFIG_HIGHMEM)
94static int one = 1;
95#endif
93#ifdef CONFIG_DETECT_SOFTLOCKUP 96#ifdef CONFIG_DETECT_SOFTLOCKUP
94static int sixty = 60; 97static int sixty = 60;
95static int neg_one = -1; 98static int neg_one = -1;
@@ -100,7 +103,6 @@ static int two = 2;
100#endif 103#endif
101 104
102static int zero; 105static int zero;
103static int one = 1;
104static unsigned long one_ul = 1; 106static unsigned long one_ul = 1;
105static int one_hundred = 100; 107static int one_hundred = 100;
106 108