ia64: Replace cpu_down() with smp_shutdown_nonboot_cpus()
authorQais Yousef <qais.yousef@arm.com>
Mon, 23 Mar 2020 13:50:56 +0000 (13:50 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 25 Mar 2020 11:59:32 +0000 (12:59 +0100)
commit1e42176b4dac328b0be7075c2cebdf2006d31eb3
tree034ca54b9cd4e9a1fba06bf1dd5b599e392f7cd0
parent0441a5597c5d02ed7abed1d989eaaa1595dedac5
ia64: Replace cpu_down() with smp_shutdown_nonboot_cpus()

Use the new smp_shutdown_nonboot_cpus() instead of using cpu_down()
directly.

Use reboot_cpu instead of hardcoding the boot CPU to 0.

This also prepares to make cpu_up/down() a private interface of the CPU
subsystem.

Signed-off-by: Qais Yousef <qais.yousef@arm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Link: https://lkml.kernel.org/r/20200323135110.30522-4-qais.yousef@arm.com
arch/ia64/kernel/process.c