diff options
author | Pawel Moll <pawel.moll@arm.com> | 2011-12-15 09:02:33 -0500 |
---|---|---|
committer | Rob Herring <rob.herring@calxeda.com> | 2012-01-16 09:35:25 -0500 |
commit | 764a579fb56a9205a9212250e625efe2b11e3f96 (patch) | |
tree | 87ce1089712267471579dd33537c34acad65b70e /arch/arm/mach-realview | |
parent | 805a6af8dba5dfdd35ec35dc52ec0122400b2610 (diff) |
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')
-rw-r--r-- | arch/arm/mach-realview/platsmp.c | 3 |
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 @@ | |||
17 | #include <asm/hardware/gic.h> | 17 | #include <asm/hardware/gic.h> |
18 | #include <asm/mach-types.h> | 18 | #include <asm/mach-types.h> |
19 | #include <asm/smp_scu.h> | 19 | #include <asm/smp_scu.h> |
20 | #include <asm/unified.h> | ||
21 | 20 | ||
22 | #include <mach/board-eb.h> | 21 | #include <mach/board-eb.h> |
23 | #include <mach/board-pb11mp.h> | 22 | #include <mach/board-pb11mp.h> |
@@ -75,6 +74,6 @@ void __init platform_smp_prepare_cpus(unsigned int max_cpus) | |||
75 | * until it receives a soft interrupt, and then the | 74 | * until it receives a soft interrupt, and then the |
76 | * secondary CPU branches to this address. | 75 | * secondary CPU branches to this address. |
77 | */ | 76 | */ |
78 | __raw_writel(BSYM(virt_to_phys(versatile_secondary_startup)), | 77 | __raw_writel(virt_to_phys(versatile_secondary_startup), |
79 | __io_address(REALVIEW_SYS_FLAGSSET)); | 78 | __io_address(REALVIEW_SYS_FLAGSSET)); |
80 | } | 79 | } |