]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: tegra: build assembly files with -march=armv7-a
authorArnd Bergmann <arnd@arndb.de>
Tue, 9 Apr 2013 19:58:38 +0000 (21:58 +0200)
committerArnd Bergmann <arnd@arndb.de>
Tue, 9 Apr 2013 20:04:00 +0000 (22:04 +0200)
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>
arch/arm/mach-tegra/Makefile

index e40326d0e29fa8fb6dff8e694f8539ca09e8e31f..bfc5b07c27b5a2cbe6be33714eeddf4e8e406319 100644 (file)
@@ -1,3 +1,5 @@
+asflags-y                              += -march=armv7-a
+
 obj-y                                   += common.o
 obj-y                                   += io.o
 obj-y                                   += irq.o