mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
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
This commit is contained in:
parent
dddf3578e0
commit
11ee270e35
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ void soft_restart(unsigned long addr)
|
|||
*/
|
||||
void machine_shutdown(void)
|
||||
{
|
||||
smp_shutdown_nonboot_cpus(0);
|
||||
smp_shutdown_nonboot_cpus(reboot_cpu);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue