ARM: 8381/1: fix ARMv4+Feroceon multiplatform build
authorArnd Bergmann <arnd@arndb.de>
Tue, 26 May 2015 15:10:02 +0000 (16:10 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 27 May 2015 23:29:22 +0000 (00:29 +0100)
commit90543ec8290b31b15fc9dd6de8e9c2b6347a9059
tree0e34bce5c89ae9d7e253eb478485c81e270c47bf
parent6e27549bbcdb35975d5c157a2170b81bcb1291db
ARM: 8381/1: fix ARMv4+Feroceon multiplatform build

The feroceon copypage implementation cannot be built when targetting an
ARMv4 CPU, so we need to pass the march=armv5te flag manually to gcc
when building this file. This is obviously safe since that code will
not be executed on ARMv4.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/Makefile