diff options
author | Ingo Molnar <mingo@elte.hu> | 2007-10-15 11:00:13 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2007-10-15 11:00:13 -0400 |
commit | 3e9830dcabdeb3656855ec1b678b6bcf3b50261c (patch) | |
tree | cf6438f4372b3d9fc862a122d9b7fd8b3172e0d9 /kernel | |
parent | af92723262f3e0c431083f668b605a1dcdbe8f3d (diff) |
sched: run sched_domain_debug() if CONFIG_SCHED_DEBUG=y
run sched_domain_debug() if CONFIG_SCHED_DEBUG=y, instead
of relying on the hand-crafted SCHED_DOMAIN_DEBUG switch.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/sched.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index f370f108ed04..1a80ac1b6dab 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -5476,8 +5476,7 @@ int __init migration_init(void) | |||
5476 | int nr_cpu_ids __read_mostly = NR_CPUS; | 5476 | int nr_cpu_ids __read_mostly = NR_CPUS; |
5477 | EXPORT_SYMBOL(nr_cpu_ids); | 5477 | EXPORT_SYMBOL(nr_cpu_ids); |
5478 | 5478 | ||
5479 | #undef SCHED_DOMAIN_DEBUG | 5479 | #ifdef CONFIG_SCHED_DEBUG |
5480 | #ifdef SCHED_DOMAIN_DEBUG | ||
5481 | static void sched_domain_debug(struct sched_domain *sd, int cpu) | 5480 | static void sched_domain_debug(struct sched_domain *sd, int cpu) |
5482 | { | 5481 | { |
5483 | int level = 0; | 5482 | int level = 0; |