]> git.ipfire.org Git - people/arne_f/kernel.git/commit
ARM: sunxi: fix build for THUMB2_KERNEL
authorArnd Bergmann <arnd@arndb.de>
Sun, 16 Mar 2014 17:04:54 +0000 (18:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Aug 2015 03:51:48 +0000 (20:51 -0700)
commit59da23b97e7fa9aa1a863bdf33a530ddd85c8671
tree391ca5cb4a77cb076848caf96316898cf043c2a2
parentadbbaa36dd55ff0bde07391d898779760b5206df
ARM: sunxi: fix build for THUMB2_KERNEL

commit 1146b600044de64af0ef775025731eeef1fa2189 upstream.

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>
Signed-off-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
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