]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7890a593bbcdc64c8cd245fc8c9784544b8280e6
tree94bbafffd0f96a3b2dfbd2cb3eb90088cd3cf1e4
parentb6954e04613bb206b2a35540d13dfc2cd9461d91
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