ARM: Use reboot_cpu instead of hardcoding it to 0
authorQais Yousef <qais.yousef@arm.com>
Mon, 23 Mar 2020 13:50:58 +0000 (13:50 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 25 Mar 2020 11:59:33 +0000 (12:59 +0100)
commit11ee270e3520129f977751e6174ebf8bf5f08a2f
tree94bbafffd0f96a3b2dfbd2cb3eb90088cd3cf1e4
parentdddf3578e0d497e66ebe654d0f3258ac20a07e27
ARM: Use reboot_cpu instead of hardcoding it to 0

Use `reboot_cpu` variable instead of hardcoding 0 as the reboot cpu in
machine_shutdown().

Signed-off-by: Qais Yousef <qais.yousef@arm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Russell King <linux@armlinux.org.uk>
Link: https://lkml.kernel.org/r/20200323135110.30522-6-qais.yousef@arm.com
arch/arm/kernel/reboot.c