summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorPavel Machek <pavel@denx.de>2012-10-27 01:00:53 +0200
committerArnd Bergmann <arnd@arndb.de>2012-10-27 12:39:37 +0200
commitad208d03a5a32957a419eb1a473aa96ff4da45ca (patch)
tree5f68991c540135d5b598f8b489482c459ce43e56 /arch
parent8691c0db4a70fe87d9a05eec15ebfe99f6e953c1 (diff)
ARM: socfpga: fix build break for allyesconfig
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-socfpga/headsmp.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-socfpga/headsmp.S b/arch/arm/mach-socfpga/headsmp.S
index 17d6eaf9aff..65762abc4d3 100644
--- a/arch/arm/mach-socfpga/headsmp.S
+++ b/arch/arm/mach-socfpga/headsmp.S
@@ -11,6 +11,7 @@
#include <linux/init.h>
__INIT
+ .arch armv7-a
#define CPU1_START_ADDR 0xffd08010