aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Rigby <john.rigby@linaro.org>2011-03-09 16:23:14 -0700
committerJohn Rigby <john.rigby@linaro.org>2011-03-09 17:47:07 -0700
commitae5da8fb4ba9862044658111a7d26bd28d5425e5 (patch)
treeef0d02b861c2896a5f7cca2801c3586bfbb25960
parent0ffb81261428df3e9f4d32ed00a6bd385299bfcf (diff)
downloadlinux-linaro-linaro-linux-2.6.38-upstream-09Mar2011.tar.gz
ARM: omap3: Fix assembler breakage in sleep34xx.Slinaro-linux-2.6.38-upstream-09Mar2011
Assembler in latest binutils needs extra option to enable smc instructions introduced in: ARM: omap3: Remove hand-encoded SMC instructions Signed-off-by: John Rigby <john.rigby@linaro.org>
-rw-r--r--arch/arm/mach-omap2/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile
index 1d6f14a584f..b4a5e5f66e2 100644
--- a/arch/arm/mach-omap2/Makefile
+++ b/arch/arm/mach-omap2/Makefile
@@ -71,7 +71,7 @@ obj-$(CONFIG_OMAP_SMARTREFLEX) += sr_device.o smartreflex.o
obj-$(CONFIG_OMAP_SMARTREFLEX_CLASS3) += smartreflex-class3.o
AFLAGS_sleep24xx.o :=-Wa,-march=armv6
-AFLAGS_sleep34xx.o :=-Wa,-march=armv7-a
+AFLAGS_sleep34xx.o :=-Wa,-march=armv7-a$(plus_sec)
ifeq ($(CONFIG_PM_VERBOSE),y)
CFLAGS_pm_bus.o += -DDEBUG