diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-11 02:47:41 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-11 02:47:41 -0500 |
| commit | 2fc10246766fce0b560f015e1c0b6ff29fb4ced0 (patch) | |
| tree | 0510322a0d3a8171afb1e06a7ce809f023578825 /kernel/cpu.c | |
| parent | 05eec0c931a63d8709009e3ac6a083072666fa0f (diff) | |
| parent | 50c4c4e268a2d7a3e58ebb698ac74da0de40ae36 (diff) | |
Merge 4.15-rc3 into char-misc-next
We want the fixes and changes in here for testing.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
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] = { |
