[PATCH] arm: socfpga: fix build break for allyesconfig
dinguyen at altera.com
dinguyen at altera.com
Fri Oct 26 18:17:41 EDT 2012
From: Dinh Nguyen <dinguyen at altera.com>
Add check for armv7 in headsmp.S.
Signed-off-by: Dinh Nguyen <dinguyen at altera.com>
---
arch/arm/mach-socfpga/headsmp.S | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-socfpga/headsmp.S b/arch/arm/mach-socfpga/headsmp.S
index 17d6eaf..9031a3c 100644
--- a/arch/arm/mach-socfpga/headsmp.S
+++ b/arch/arm/mach-socfpga/headsmp.S
@@ -15,8 +15,10 @@
#define CPU1_START_ADDR 0xffd08010
ENTRY(secondary_trampoline)
+#if __LINUX_ARM_ARCH__ >= 7
movw r0, #:lower16:CPU1_START_ADDR
movt r0, #:upper16:CPU1_START_ADDR
+#endif
ldr r1, [r0]
bx r1
--
1.7.9.5
More information about the linux-arm-kernel
mailing list