cpu/hotplug: Split do_cpu_down()
authorThomas Gleixner <tglx@linutronix.de>
Tue, 29 May 2018 15:49:05 +0000 (17:49 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 21 Jun 2018 12:20:57 +0000 (14:20 +0200)
commitcc1fe215e1efa406b03aa4389e6269b61342dec5
tree2e48856350405e808429badae7e8b5a286ae4ca5
parentc4de65696d865c225fda3b9913b31284ea65ea96
cpu/hotplug: Split do_cpu_down()

Split out the inner workings of do_cpu_down() to allow reuse of that
function for the upcoming SMT disabling mechanism.

No functional change.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
kernel/cpu.c