]> git.baikalelectronics.ru Git - kernel.git/commit
smp/hotplug: Move step CPUHP_AP_SMPCFD_DYING to the correct place
authorLai Jiangshan <jiangshanlai@gmail.com>
Tue, 28 Nov 2017 13:19:53 +0000 (21:19 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 28 Nov 2017 13:40:23 +0000 (14:40 +0100)
commitfdf567f9fb5605f8c685fe35acd7b4de1311d99a
tree547f2ba971c81a7ce8bf1cf76fda4253b2853a57
parent644baddf676d06454bd88607ef3bd0266912df40
smp/hotplug: Move step CPUHP_AP_SMPCFD_DYING to the correct place

Commit 628c6d3d269c ("smp/cfd: Convert core to hotplug state machine")
accidently put this step on the wrong place. The step should be at the
cpuhp_ap_states[] rather than the cpuhp_bp_states[].

grep smpcfd /sys/devices/system/cpu/hotplug/states
 40: smpcfd:prepare
129: smpcfd:dying

"smpcfd:dying" was missing before.
So was the invocation of the function smpcfd_dying_cpu().

Fixes: 628c6d3d269c ("smp/cfd: Convert core to hotplug state machine")
Signed-off-by: Lai Jiangshan <jiangshanlai@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Richard Weinberger <richard@nod.at>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: stable@vger.kernel.org
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Link: https://lkml.kernel.org/r/20171128131954.81229-1-jiangshanlai@gmail.com
kernel/cpu.c