sched/debug: Hide printk() by default
authorPeter Zijlstra <peterz@infradead.org>
Tue, 20 Sep 2016 09:05:31 +0000 (11:05 +0200)
committerIngo Molnar <mingo@kernel.org>
Thu, 22 Sep 2016 13:20:25 +0000 (15:20 +0200)
commita18a579e5f84daa74f64b1f1b652b4a6a8d6f8b4
treec9696e5ec912c768f9a682be72014f1301290dbd
parent8bf46a39be910937d4c9e8d999a7438a7ae1a75b
sched/debug: Hide printk() by default

Dietmar accidentally added an unconditional sched domain printk. Hide
it behind the normal sched_debug flag.

Reported-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: Dietmar Eggemann <dietmar.eggemann@arm.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Fixes: cd92bfd3b8cb ("sched/core: Store maximum per-CPU capacity in root domain")
[ Fixed !SCHED_DEBUG build failure. ]
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/core.c