From: Arnd Bergmann Date: Tue, 9 Apr 2013 19:58:38 +0000 (+0200) Subject: ARM: tegra: build assembly files with -march=armv7-a X-Git-Tag: next-20130422~16^2~22^2~1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=408e713545ca0bebe6034935c65e7e95c70d253b;p=karo-tx-linux.git 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 --- 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