ARM: sunxi: fix build for THUMB2_KERNEL
authorArnd Bergmann <arnd@arndb.de>
Sun, 16 Mar 2014 17:04:54 +0000 (18:04 +0100)
committerArnd Bergmann <arnd@arndb.de>
Sat, 22 Mar 2014 00:04:28 +0000 (01:04 +0100)
commit1146b600044de64af0ef775025731eeef1fa2189
tree8069908b9608874f4a249b2999311190528f9cfe
parent96c3a2506b1bf17bd4e8d1abe8220912925ca279
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>
arch/arm/include/asm/smp.h
arch/arm/mach-sunxi/Makefile
arch/arm/mach-sunxi/headsmp.S [deleted file]
arch/arm/mach-sunxi/platsmp.c