]> err.no Git - linux-2.6/commitdiff
sched: fix CONFIG_SCHED_DEBUG dependency of lockdep sysctls
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Sat, 25 Aug 2007 16:41:52 +0000 (18:41 +0200)
committerIngo Molnar <mingo@elte.hu>
Sat, 25 Aug 2007 16:41:52 +0000 (18:41 +0200)
Make the lockdep sysctls not depend on CONFIG_SCHED_DEBUG.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sysctl.c

index 9029690f4faed4ba0928812ac4a05dbbf006add6..ea90ef51085c1c3c906380b03c752ac25a9dc963 100644 (file)
@@ -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,