Commit 77a5352b authored by Nicholas Piggin's avatar Nicholas Piggin Committed by Ingo Molnar

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: default avatarNicholas Piggin <npiggin@gmail.com>
Signed-off-by: default avatarPeter 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.comSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent 176d2323
...@@ -5866,7 +5866,7 @@ void __init sched_init_smp(void) ...@@ -5866,7 +5866,7 @@ void __init sched_init_smp(void)
static int __init migration_init(void) static int __init migration_init(void)
{ {
sched_rq_cpu_starting(smp_processor_id()); sched_cpu_starting(smp_processor_id());
return 0; return 0;
} }
early_initcall(migration_init); early_initcall(migration_init);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment