arm64: Use reboot_cpu instead of hardconding it to 0
authorQais Yousef <qais.yousef@arm.com>
Mon, 23 Mar 2020 13:51:00 +0000 (13:51 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 25 Mar 2020 11:59:33 +0000 (12:59 +0100)
commit5efbe6a6e1c077b4022d9e89d79543c6106c6e25
treeebf8988312da591958fd00258949a012436bc1ae
parentd66b16f5df4b41c719b98f7b5f61f0161e9e9246
arm64: Use reboot_cpu instead of hardconding 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>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Link: https://lkml.kernel.org/r/20200323135110.30522-8-qais.yousef@arm.com
arch/arm64/kernel/process.c