projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dddf357
)
ARM: Use reboot_cpu instead of hardcoding it to 0
author
Qais Yousef
<qais.yousef@arm.com>
Mon, 23 Mar 2020 13:50:58 +0000
(13:50 +0000)
committer
Thomas Gleixner
<tglx@linutronix.de>
Wed, 25 Mar 2020 11:59:33 +0000
(12:59 +0100)
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
patch
|
blob
|
history
diff --git
a/arch/arm/kernel/reboot.c
b/arch/arm/kernel/reboot.c
index 58ad1a70f7709d3666894dc60c454f1d90a3a02f..0ce388f15422646023f64f7e888db942f1ddb5b0 100644
(file)
--- a/
arch/arm/kernel/reboot.c
+++ b/
arch/arm/kernel/reboot.c
@@
-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
);
}
/*