Skip to content

Commit

Permalink
ARM: tegra: build assembly files with -march=armv7-a
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Arnd Bergmann committed Apr 9, 2013
1 parent 4c3ffff commit 408e713
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm/mach-tegra/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
asflags-y += -march=armv7-a

obj-y += common.o
obj-y += io.o
obj-y += irq.o
Expand Down

0 comments on commit 408e713

Please sign in to comment.