summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/smp.h
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/include/asm/smp.h
parent96c3a2506b1bf17bd4e8d1abe8220912925ca279 (diff)
downloadlinux-1146b600044de64af0ef775025731eeef1fa2189.tar.bz2
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/include/asm/smp.h')
-rw-r--r--arch/arm/include/asm/smp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/smp.h b/arch/arm/include/asm/smp.h
index 22a3b9b5d4a1..4157aec4e307 100644
--- a/arch/arm/include/asm/smp.h
+++ b/arch/arm/include/asm/smp.h
@@ -74,6 +74,7 @@ struct secondary_data {
};
extern struct secondary_data secondary_data;
extern volatile int pen_release;
+extern void secondary_startup(void);
extern int __cpu_disable(void);