diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 28a41128fc6b..5c3030b5e719 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -121,7 +121,9 @@ static unsigned long one_ul = 1; static unsigned long long_max = LONG_MAX; static int one_hundred = 100; static int two_hundred = 200; +#ifdef CONFIG_PERF_EVENTS static int one_thousand = 1000; +#endif static int three_thousand = 3000; #ifdef CONFIG_PRINTK static int ten_thousand = 10000;