diff options
Diffstat (limited to 'kernel/cpu.c')
| -rw-r--r-- | kernel/cpu.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kernel/cpu.c b/kernel/cpu.c index 04892a82f6ac..41376c3ac93b 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c | |||
| @@ -780,8 +780,8 @@ static int takedown_cpu(unsigned int cpu) | |||
| 780 | BUG_ON(cpu_online(cpu)); | 780 | BUG_ON(cpu_online(cpu)); |
| 781 | 781 | ||
| 782 | /* | 782 | /* |
| 783 | * The CPUHP_AP_SCHED_MIGRATE_DYING callback will have removed all | 783 | * The teardown callback for CPUHP_AP_SCHED_STARTING will have removed |
| 784 | * runnable tasks from the cpu, there's only the idle task left now | 784 | * all runnable tasks from the CPU, there's only the idle task left now |
| 785 | * that the migration thread is done doing the stop_machine thing. | 785 | * that the migration thread is done doing the stop_machine thing. |
| 786 | * | 786 | * |
| 787 | * Wait for the stop thread to go away. | 787 | * Wait for the stop thread to go away. |
| @@ -1289,11 +1289,6 @@ static struct cpuhp_step cpuhp_bp_states[] = { | |||
| 1289 | .teardown.single = NULL, | 1289 | .teardown.single = NULL, |
| 1290 | .cant_stop = true, | 1290 | .cant_stop = true, |
| 1291 | }, | 1291 | }, |
| 1292 | [CPUHP_AP_SMPCFD_DYING] = { | ||
| 1293 | .name = "smpcfd:dying", | ||
| 1294 | .startup.single = NULL, | ||
| 1295 | .teardown.single = smpcfd_dying_cpu, | ||
| 1296 | }, | ||
| 1297 | /* | 1292 | /* |
| 1298 | * Handled on controll processor until the plugged processor manages | 1293 | * Handled on controll processor until the plugged processor manages |
| 1299 | * this itself. | 1294 | * this itself. |
| @@ -1335,6 +1330,11 @@ static struct cpuhp_step cpuhp_ap_states[] = { | |||
| 1335 | .startup.single = NULL, | 1330 | .startup.single = NULL, |
| 1336 | .teardown.single = rcutree_dying_cpu, | 1331 | .teardown.single = rcutree_dying_cpu, |
| 1337 | }, | 1332 | }, |
| 1333 | [CPUHP_AP_SMPCFD_DYING] = { | ||
| 1334 | .name = "smpcfd:dying", | ||
| 1335 | .startup.single = NULL, | ||
| 1336 | .teardown.single = smpcfd_dying_cpu, | ||
| 1337 | }, | ||
| 1338 | /* Entry state on starting. Interrupts enabled from here on. Transient | 1338 | /* Entry state on starting. Interrupts enabled from here on. Transient |
| 1339 | * state for synchronsization */ | 1339 | * state for synchronsization */ |
| 1340 | [CPUHP_AP_ONLINE] = { | 1340 | [CPUHP_AP_ONLINE] = { |
