summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-sti/platsmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-sti/platsmp.c')
-rw-r--r--arch/arm/mach-sti/platsmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-sti/platsmp.c b/arch/arm/mach-sti/platsmp.c
index ea5a2277ee46..231f19e17436 100644
--- a/arch/arm/mach-sti/platsmp.c
+++ b/arch/arm/mach-sti/platsmp.c
@@ -103,7 +103,7 @@ static void __init sti_smp_prepare_cpus(unsigned int max_cpus)
u32 __iomem *cpu_strt_ptr;
u32 release_phys;
int cpu;
- unsigned long entry_pa = virt_to_phys(sti_secondary_startup);
+ unsigned long entry_pa = __pa_symbol(sti_secondary_startup);
np = of_find_compatible_node(NULL, NULL, "arm,cortex-a9-scu");