ARM: socfpga: fix build break for allyesconfig
Pavel Machek [Fri, 26 Oct 2012 23:00:53 +0000 (01:00 +0200)]
Building a multiplatform kernel with combined armv7 and armv6
kernel does not work with the socfpga smp code, which contains
v7-only instructions. Since this code never runs on armv6,
we can annotate the assmebly with .arch   armv7-a, as suggested
by Russell King.

[arnd: reword commit message]

Signed-off-by: Pavel Machek <pavel@denx.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

arch/arm/mach-socfpga/headsmp.S

index 17d6eaf..65762ab 100644 (file)
@@ -11,6 +11,7 @@
 #include <linux/init.h>
 
        __INIT
+       .arch   armv7-a
 
 #define CPU1_START_ADDR                0xffd08010