diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-03-16 18:04:54 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2014-03-22 01:04:28 +0100 |
commit | 1146b600044de64af0ef775025731eeef1fa2189 (patch) | |
tree | 8069908b9608874f4a249b2999311190528f9cfe /arch/arm/mach-sunxi/platsmp.c | |
parent | 96c3a2506b1bf17bd4e8d1abe8220912925ca279 (diff) |
ARM: sunxi: fix build for THUMB2_KERNEL
Building an SMP kernel for the sunxi platform with THUMB2 instructions
fails with this error at the moment:
headsmp.S:7: Error: Thumb encoding does not support an immediate here -- `msr cpsr_fsxc,#0xd3'
Since the generic secondary_startup function already does
the same thing in a safe way, we can just drop the private
sunxi implementation and jump straight to secondary_startup.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/mach-sunxi/platsmp.c')
-rw-r--r-- | arch/arm/mach-sunxi/platsmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-sunxi/platsmp.c b/arch/arm/mach-sunxi/platsmp.c index 7b141d8342a1..0c7dbce033cc 100644 --- a/arch/arm/mach-sunxi/platsmp.c +++ b/arch/arm/mach-sunxi/platsmp.c @@ -82,7 +82,7 @@ static int sun6i_smp_boot_secondary(unsigned int cpu, spin_lock(&cpu_lock); /* Set CPU boot address */ - writel(virt_to_phys(sun6i_secondary_startup), + writel(virt_to_phys(secondary_startup), cpucfg_membase + CPUCFG_PRIVATE0_REG); /* Assert the CPU core in reset */ |