Commit 5b1ead68 authored by Brendan Jackman's avatar Brendan Jackman Committed by Ingo Molnar

cpu/hotplug: Fix state name in takedown_cpu() comment

CPUHP_AP_SCHED_MIGRATE_DYING doesn't exist, it looks like this was
supposed to refer to CPUHP_AP_SCHED_STARTING's teardown callback,
i.e. sched_cpu_dying().
Signed-off-by: default avatarBrendan Jackman <brendan.jackman@arm.com>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: Dietmar Eggemann <dietmar.eggemann@arm.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Quentin Perret <quentin.perret@arm.com>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20171206105911.28093-1-brendan.jackman@arm.comSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent 328b4ed9
...@@ -780,8 +780,8 @@ static int takedown_cpu(unsigned int cpu) ...@@ -780,8 +780,8 @@ static int takedown_cpu(unsigned int cpu)
BUG_ON(cpu_online(cpu)); BUG_ON(cpu_online(cpu));
/* /*
* The CPUHP_AP_SCHED_MIGRATE_DYING callback will have removed all * The teardown callback for CPUHP_AP_SCHED_STARTING will have removed
* runnable tasks from the cpu, there's only the idle task left now * all runnable tasks from the CPU, there's only the idle task left now
* that the migration thread is done doing the stop_machine thing. * that the migration thread is done doing the stop_machine thing.
* *
* Wait for the stop thread to go away. * Wait for the stop thread to go away.
......
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