From: Peter Zijlstra Date: Sat, 25 Aug 2007 16:41:52 +0000 (+0200) Subject: sched: fix CONFIG_SCHED_DEBUG dependency of lockdep sysctls X-Git-Tag: MMI-PSA29.97-13-9~40645^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1fc84aaae3bae9646dd4c7798b8c0ff934338909;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git sched: fix CONFIG_SCHED_DEBUG dependency of lockdep sysctls Make the lockdep sysctls not depend on CONFIG_SCHED_DEBUG. Signed-off-by: Peter Zijlstra Signed-off-by: Ingo Molnar --- diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 9029690f4fae..ea90ef51085c 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -283,6 +283,15 @@ static ctl_table kern_table[] = { .mode = 0644, .proc_handler = &proc_dointvec, }, + { + .ctl_name = CTL_UNNUMBERED, + .procname = "sched_features", + .data = &sysctl_sched_features, + .maxlen = sizeof(unsigned int), + .mode = 0644, + .proc_handler = &proc_dointvec, + }, +#endif #ifdef CONFIG_PROVE_LOCKING { .ctl_name = CTL_UNNUMBERED, @@ -302,15 +311,6 @@ static ctl_table kern_table[] = { .mode = 0644, .proc_handler = &proc_dointvec, }, -#endif - { - .ctl_name = CTL_UNNUMBERED, - .procname = "sched_features", - .data = &sysctl_sched_features, - .maxlen = sizeof(unsigned int), - .mode = 0644, - .proc_handler = &proc_dointvec, - }, #endif { .ctl_name = KERN_PANIC,