diff options
author | Arnd Bergmann <arnd@arndb.de> | 2013-04-09 21:58:38 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2013-04-09 22:04:00 +0200 |
commit | 408e713545ca0bebe6034935c65e7e95c70d253b (patch) | |
tree | efab580e5b66dafa3ca9c386fe96862a08e93e45 | |
parent | ARM: Push selects for TWD/SCU into machine entries (diff) | |
download | linux-408e713545ca0bebe6034935c65e7e95c70d253b.tar.xz linux-408e713545ca0bebe6034935c65e7e95c70d253b.zip |
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 e40326d0e29f..bfc5b07c27b5 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 |