summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-alpine
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-alpine')
-rw-r--r--arch/arm/mach-alpine/platsmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-alpine/platsmp.c b/arch/arm/mach-alpine/platsmp.c
index dd77ea25e7ca..6dc6d491f88a 100644
--- a/arch/arm/mach-alpine/platsmp.c
+++ b/arch/arm/mach-alpine/platsmp.c
@@ -27,7 +27,7 @@ static int alpine_boot_secondary(unsigned int cpu, struct task_struct *idle)
{
phys_addr_t addr;
- addr = virt_to_phys(secondary_startup);
+ addr = __pa_symbol(secondary_startup);
if (addr > (phys_addr_t)(uint32_t)(-1)) {
pr_err("FAIL: resume address over 32bit (%pa)", &addr);
OpenPOWER on IntegriCloud