sched/core: Omit building stop_sched_class when !SMP
authorNicolas Pitre <nicolas.pitre@linaro.org>
Mon, 29 May 2017 21:02:57 +0000 (17:02 -0400)
committerIngo Molnar <mingo@kernel.org>
Thu, 8 Jun 2017 08:32:04 +0000 (10:32 +0200)
commitf5832c1998af2ca8d9947792d1c8e1816ab58e57
tree882d038663b3487a5a3713ee89649c84dfd50b1b
parent3effcb4247e74a51f5d8b775a1ee4abf87cc089a
sched/core: Omit building stop_sched_class when !SMP

The stop class is invoked through stop_machine only.
This is dead code on UP builds.

Signed-off-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20170529210302.26868-3-nicolas.pitre@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/Makefile
kernel/sched/core.c
kernel/sched/sched.h