summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-spear
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2013-03-19 22:03:13 +0100
committerArnd Bergmann <arnd@arndb.de>2013-03-19 22:03:13 +0100
commitcde35bd027023b052316c14ae3fc01e2f487a6ab (patch)
treeacc288ea34d25c452651fabdb4e78c7ea0baa57a /arch/arm/mach-spear
parentARM: nomadik: hide MACH_NOMADIK_8815NHK in Kconfig (diff)
downloadlinux-cde35bd027023b052316c14ae3fc01e2f487a6ab.tar.xz
linux-cde35bd027023b052316c14ae3fc01e2f487a6ab.zip
ARM: spear: build hotplug.o for armv7-a
The hotplug.c file uses assembly instructions that are only available on ARMv7 but not on ARMv6. This is ok because we know that code will only run on arm ARMv7 SPEARr13xx, but it produces build errors when we also enable one of the ARMv6 targets in a multiplatform configuration. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-spear')
-rw-r--r--arch/arm/mach-spear/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-spear/Makefile b/arch/arm/mach-spear/Makefile
index dc9ce80508ad..af9bffb94f1c 100644
--- a/arch/arm/mach-spear/Makefile
+++ b/arch/arm/mach-spear/Makefile
@@ -22,3 +22,5 @@ obj-$(CONFIG_MACH_SPEAR320) += spear320.o
obj-$(CONFIG_ARCH_SPEAR6XX) += spear6xx.o
obj-$(CONFIG_ARCH_SPEAR6XX) += pl080.o
+
+CFLAGS_hotplug.o += -march=armv7-a