summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-actions
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2017-07-09 04:17:46 +0200
committerAndreas Färber <afaerber@suse.de>2017-09-20 16:48:14 +0200
commitbad29933fef76fb6ee577f4a0b6d145c1f52f663 (patch)
tree7578b8ec87d7f08e54aa970fd8fda8a9275e2f23 /arch/arm/mach-actions
parentLinux 4.14-rc1 (diff)
downloadlinux-bad29933fef76fb6ee577f4a0b6d145c1f52f663.tar.xz
linux-bad29933fef76fb6ee577f4a0b6d145c1f52f663.zip
ARM: owl: smp: Use __pa_symbol()
Replace an occurrence of virt_to_phys() with __pa_symbol() macro. See 64fc2a947a9873700929ec0ef02b4654a04e0476 ("ARM: 8641/1: treewide: Replace uses of virt_to_phys with __pa_symbol"). Fixes: 172067e0bc87 ("ARM: owl: Implement CPU enable-method for S500") Reported-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'arch/arm/mach-actions')
-rw-r--r--arch/arm/mach-actions/platsmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-actions/platsmp.c b/arch/arm/mach-actions/platsmp.c
index 12a9e331b432..7238926ab015 100644
--- a/arch/arm/mach-actions/platsmp.c
+++ b/arch/arm/mach-actions/platsmp.c
@@ -71,7 +71,7 @@ static int s500_wakeup_secondary(unsigned int cpu)
/* wait for CPUx to run to WFE instruction */
udelay(200);
- writel(virt_to_phys(owl_secondary_startup),
+ writel(__pa_symbol(owl_secondary_startup),
timer_base_addr + OWL_CPU1_ADDR + (cpu - 1) * 4);
writel(OWL_CPUx_FLAG_BOOT,
timer_base_addr + OWL_CPU1_FLAG + (cpu - 1) * 4);