summaryrefslogtreecommitdiff
path: root/arch/arm/mach-realview/platsmp-dt.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-realview/platsmp-dt.c')
-rw-r--r--arch/arm/mach-realview/platsmp-dt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-realview/platsmp-dt.c b/arch/arm/mach-realview/platsmp-dt.c
index 70ca99eb52c6..c242423bf8db 100644
--- a/arch/arm/mach-realview/platsmp-dt.c
+++ b/arch/arm/mach-realview/platsmp-dt.c
@@ -76,7 +76,7 @@ static void __init realview_smp_prepare_cpus(unsigned int max_cpus)
}
/* Put the boot address in this magic register */
regmap_write(map, REALVIEW_SYS_FLAGSSET_OFFSET,
- virt_to_phys(versatile_secondary_startup));
+ __pa_symbol(versatile_secondary_startup));
}
static const struct smp_operations realview_dt_smp_ops __initconst = {