diff options
author | Arnd Bergmann <arnd@arndb.de> | 2013-04-09 19:58:38 (GMT) |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2013-04-09 20:04:00 (GMT) |
commit | 408e713545ca0bebe6034935c65e7e95c70d253b (patch) | |
tree | efab580e5b66dafa3ca9c386fe96862a08e93e45 | |
parent | 4c3ffffdbca2e6f6f5125fa7b149d87a13f92c94 (diff) | |
download | linux-fsl-qoriq-408e713545ca0bebe6034935c65e7e95c70d253b.tar.xz |
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/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/Makefile b/arch/arm/mach-tegra/Makefile index e40326d..bfc5b07 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 |