mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
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>
This commit is contained in:
parent
af92723262
commit
3e9830dcab
1 changed files with 1 additions and 2 deletions
|
@ -5476,8 +5476,7 @@ int __init migration_init(void)
|
|||
int nr_cpu_ids __read_mostly = NR_CPUS;
|
||||
EXPORT_SYMBOL(nr_cpu_ids);
|
||||
|
||||
#undef SCHED_DOMAIN_DEBUG
|
||||
#ifdef SCHED_DOMAIN_DEBUG
|
||||
#ifdef CONFIG_SCHED_DEBUG
|
||||
static void sched_domain_debug(struct sched_domain *sd, int cpu)
|
||||
{
|
||||
int level = 0;
|
||||
|
|
Loading…
Reference in a new issue