diff options
author | Kevin Hilman <khilman@linaro.org> | 2015-06-11 18:41:58 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@linaro.org> | 2015-06-11 18:41:58 -0400 |
commit | 89b8da06ba302dd130df60df7964ccd3ab151cd6 (patch) | |
tree | db237b0c3036a2fcb3e22d786039e43c3130c5b4 /arch/arm/mach-socfpga | |
parent | 44fd8c7d4005f660f48679439f0a54225ba234a4 (diff) |
ARM: socfpga: fix build error due to secondary_startup
After commit 02b4e2756e01 (ARM: v7 setup function should invalidate L1
cache) the soc specific secondary_startup is removed, causing build
failures:
../arch/arm/mach-socfpga/platsmp.c: In function 'socfpga_a10_boot_secondary':
../arch/arm/mach-socfpga/platsmp.c:66:140: error: 'socfpga_secondary_startup' undeclared (first use in this function)
../arch/arm/mach-socfpga/platsmp.c:66:140: note: each undeclared identifier is reported only once for each function it appears in
To fix, use the generic secondary_startup.
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Signed-off-by: Kevin Hilman <khilman@linaro.org>
Diffstat (limited to 'arch/arm/mach-socfpga')
-rw-r--r-- | arch/arm/mach-socfpga/platsmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-socfpga/platsmp.c b/arch/arm/mach-socfpga/platsmp.c index 5454e9ce31ea..7ed612793323 100644 --- a/arch/arm/mach-socfpga/platsmp.c +++ b/arch/arm/mach-socfpga/platsmp.c | |||
@@ -63,7 +63,7 @@ static int socfpga_a10_boot_secondary(unsigned int cpu, struct task_struct *idle | |||
63 | SOCFPGA_A10_RSTMGR_MODMPURST); | 63 | SOCFPGA_A10_RSTMGR_MODMPURST); |
64 | memcpy(phys_to_virt(0), &secondary_trampoline, trampoline_size); | 64 | memcpy(phys_to_virt(0), &secondary_trampoline, trampoline_size); |
65 | 65 | ||
66 | writel(virt_to_phys(socfpga_secondary_startup), | 66 | writel(virt_to_phys(secondary_startup), |
67 | sys_manager_base_addr + (socfpga_cpu1start_addr & 0x00000fff)); | 67 | sys_manager_base_addr + (socfpga_cpu1start_addr & 0x00000fff)); |
68 | 68 | ||
69 | flush_cache_all(); | 69 | flush_cache_all(); |