aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2013-04-09 21:58:38 +0200
committerArnd Bergmann <arnd@arndb.de>2013-04-09 22:04:00 +0200
commit408e713545ca0bebe6034935c65e7e95c70d253b (patch)
treeefab580e5b66dafa3ca9c386fe96862a08e93e45
parent4c3ffffdbca2e6f6f5125fa7b149d87a13f92c94 (diff)
ARM: tegra: build assembly files with -march=armv7-a
The tegra assembly files are written for ARMv7 and are not compatible with ARMv6, which leads to build warnings when compiling a dual ARMv6/v7 kernel. Since this code is only ever run on Tegra ARMv7 hardware, we can tell the assembler which architecture level to use. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r--arch/arm/mach-tegra/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/Makefile b/arch/arm/mach-tegra/Makefile
index e40326d0e29..bfc5b07c27b 100644
--- a/arch/arm/mach-tegra/Makefile
+++ b/arch/arm/mach-tegra/Makefile
@@ -1,3 +1,5 @@
+asflags-y += -march=armv7-a
+
obj-y += common.o
obj-y += io.o
obj-y += irq.o