aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-sunxi/headsmp.S
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2014-03-16 18:04:54 +0100
committerArnd Bergmann <arnd@arndb.de>2014-03-22 01:04:28 +0100
commit1146b600044de64af0ef775025731eeef1fa2189 (patch)
tree8069908b9608874f4a249b2999311190528f9cfe /arch/arm/mach-sunxi/headsmp.S
parentARM: exynos: add missing include of linux/module.h (diff)
downloadlinux-dev-1146b600044de64af0ef775025731eeef1fa2189.tar.xz
linux-dev-1146b600044de64af0ef775025731eeef1fa2189.zip
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/headsmp.S')
-rw-r--r--arch/arm/mach-sunxi/headsmp.S9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/mach-sunxi/headsmp.S b/arch/arm/mach-sunxi/headsmp.S
deleted file mode 100644
index a10d494fb37b..000000000000
--- a/arch/arm/mach-sunxi/headsmp.S
+++ /dev/null
@@ -1,9 +0,0 @@
-#include <linux/linkage.h>
-#include <linux/init.h>
-
- .section ".text.head", "ax"
-
-ENTRY(sun6i_secondary_startup)
- msr cpsr_fsxc, #0xd3
- b secondary_startup
-ENDPROC(sun6i_secondary_startup)