aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2007-08-25 12:41:52 -0400
committerIngo Molnar <mingo@elte.hu>2007-08-25 12:41:52 -0400
commit1fc84aaae3bae9646dd4c7798b8c0ff934338909 (patch)
tree341ec96425967e8311346bb9c90fb1a7f07bdac4 /kernel
parentd1caeb02b17c6bc215a9a40a98a1beb92dcbd310 (diff)
sched: fix CONFIG_SCHED_DEBUG dependency of lockdep sysctls
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>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sysctl.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 9029690f4fa..ea90ef51085 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -283,6 +283,15 @@ static ctl_table kern_table[] = {
283 .mode = 0644, 283 .mode = 0644,
284 .proc_handler = &proc_dointvec, 284 .proc_handler = &proc_dointvec,
285 }, 285 },
286 {
287 .ctl_name = CTL_UNNUMBERED,
288 .procname = "sched_features",
289 .data = &sysctl_sched_features,
290 .maxlen = sizeof(unsigned int),
291 .mode = 0644,
292 .proc_handler = &proc_dointvec,
293 },
294#endif
286#ifdef CONFIG_PROVE_LOCKING 295#ifdef CONFIG_PROVE_LOCKING
287 { 296 {
288 .ctl_name = CTL_UNNUMBERED, 297 .ctl_name = CTL_UNNUMBERED,
@@ -304,15 +313,6 @@ static ctl_table kern_table[] = {
304 }, 313 },
305#endif 314#endif
306 { 315 {
307 .ctl_name = CTL_UNNUMBERED,
308 .procname = "sched_features",
309 .data = &sysctl_sched_features,
310 .maxlen = sizeof(unsigned int),
311 .mode = 0644,
312 .proc_handler = &proc_dointvec,
313 },
314#endif
315 {
316 .ctl_name = KERN_PANIC, 316 .ctl_name = KERN_PANIC,
317 .procname = "panic", 317 .procname = "panic",
318 .data = &panic_timeout, 318 .data = &panic_timeout,