cpu/hotplug: Split do_cpu_down()
authorThomas Gleixner <tglx@linutronix.de>
Tue, 29 May 2018 15:49:05 +0000 (17:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Aug 2018 16:12:51 +0000 (18:12 +0200)
commit6beba29c66bcab61457173c7c36638fa3f5824b5
treee4b277e5596ca8ae7e2ff20ab75e9166808669a9
parent26a6dcc7134b7f45e0058cd735148afd2715f67a
cpu/hotplug: Split do_cpu_down()

commit cc1fe215e1efa406b03aa4389e6269b61342dec5 upstream

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/cpu.c