]> Pileus Git - ~andy/linux/commitdiff
ARM: ux500: build hotplug.o for ARMv7-a
authorArnd Bergmann <arnd@arndb.de>
Thu, 21 Mar 2013 21:51:14 +0000 (22:51 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 8 Apr 2013 11:59:54 +0000 (13:59 +0200)
If we try to build this file in a multiplatform configuration with
ARMv6 enabled, gas complains about the dsb operation being undefined.
Adding -march=armv7-a is safe because that code is only ever run
on ux500, which is Cortex-A9.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-ux500/Makefile

index 580a4db9e97d55c19ee45a0c743a4820ca32cbd5..bf9b6be5b18091bc3b94464f74502939b596ee40 100644 (file)
@@ -15,3 +15,5 @@ obj-$(CONFIG_MACH_MOP500)     += board-mop500.o board-mop500-sdi.o \
                                board-mop500-audio.o
 obj-$(CONFIG_SMP)              += platsmp.o headsmp.o
 obj-$(CONFIG_HOTPLUG_CPU)      += hotplug.o
+
+CFLAGS_hotplug.o               += -march=armv7-a