sched/core: Allow the remote scheduler tick to be started on CPU0

This has no effect yet because CPU0 will always be a housekeeping CPU
until a later change.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rafael J . Wysocki <rafael.j.wysocki@intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linuxppc-dev@lists.ozlabs.org
Link: https://lkml.kernel.org/r/20190411033448.20842-2-npiggin@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:
Nicholas Piggin 2019-04-11 13:34:44 +10:00 committed by Ingo Molnar
parent 176d2323c7
commit 77a5352ba9

View File

@ -5866,7 +5866,7 @@ void __init sched_init_smp(void)
static int __init migration_init(void)
{
sched_rq_cpu_starting(smp_processor_id());
sched_cpu_starting(smp_processor_id());
return 0;
}
early_initcall(migration_init);