summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-realview/platsmp.c
diff options
context:
space:
mode:
authorPawel Moll <pawel.moll@arm.com>2011-12-15 14:02:33 +0000
committerRob Herring <rob.herring@calxeda.com>2012-01-16 08:35:25 -0600
commit764a579fb56a9205a9212250e625efe2b11e3f96 (patch)
tree87ce1089712267471579dd33537c34acad65b70e /arch/arm/mach-realview/platsmp.c
parent805a6af8dba5dfdd35ec35dc52ec0122400b2610 (diff)
downloadblackbird-op-linux-764a579fb56a9205a9212250e625efe2b11e3f96.tar.gz
blackbird-op-linux-764a579fb56a9205a9212250e625efe2b11e3f96.zip
ARM: versatile: Add missing ENDPROC to headsmp.S
Once the ENDPROC is in place, BSYM() in not longer necessary to get correct pointer to versatile_secondary_startup(). Tested-by: Jon Medhurst <tixy@linaro.org> Signed-off-by: Pawel Moll <pawel.moll@arm.com> Acked-by: Dave Martin <dave.martin@linaro.org>
Diffstat (limited to 'arch/arm/mach-realview/platsmp.c')
-rw-r--r--arch/arm/mach-realview/platsmp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-realview/platsmp.c b/arch/arm/mach-realview/platsmp.c
index e83c654a58d0..17c878ddbc70 100644
--- a/arch/arm/mach-realview/platsmp.c
+++ b/arch/arm/mach-realview/platsmp.c
@@ -17,7 +17,6 @@
#include <asm/hardware/gic.h>
#include <asm/mach-types.h>
#include <asm/smp_scu.h>
-#include <asm/unified.h>
#include <mach/board-eb.h>
#include <mach/board-pb11mp.h>
@@ -75,6 +74,6 @@ void __init platform_smp_prepare_cpus(unsigned int max_cpus)
* until it receives a soft interrupt, and then the
* secondary CPU branches to this address.
*/
- __raw_writel(BSYM(virt_to_phys(versatile_secondary_startup)),
+ __raw_writel(virt_to_phys(versatile_secondary_startup),
__io_address(REALVIEW_SYS_FLAGSSET));
}
OpenPOWER on IntegriCloud