提交 bad29933 编写于 作者: A Andreas Färber

ARM: owl: smp: Use __pa_symbol()

Replace an occurrence of virt_to_phys() with __pa_symbol() macro.

See 64fc2a94 ("ARM: 8641/1: treewide:
Replace uses of virt_to_phys with __pa_symbol").

Fixes: 172067e0 ("ARM: owl: Implement CPU enable-method for S500")
Reported-by: NFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: NAndreas Färber <afaerber@suse.de>
上级 2bd6bf03
...@@ -71,7 +71,7 @@ static int s500_wakeup_secondary(unsigned int cpu) ...@@ -71,7 +71,7 @@ static int s500_wakeup_secondary(unsigned int cpu)
/* wait for CPUx to run to WFE instruction */ /* wait for CPUx to run to WFE instruction */
udelay(200); udelay(200);
writel(virt_to_phys(owl_secondary_startup), writel(__pa_symbol(owl_secondary_startup),
timer_base_addr + OWL_CPU1_ADDR + (cpu - 1) * 4); timer_base_addr + OWL_CPU1_ADDR + (cpu - 1) * 4);
writel(OWL_CPUx_FLAG_BOOT, writel(OWL_CPUx_FLAG_BOOT,
timer_base_addr + OWL_CPU1_FLAG + (cpu - 1) * 4); timer_base_addr + OWL_CPU1_FLAG + (cpu - 1) * 4);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册