diff mbox

ARM: omap3: Fix assembler breakage in sleep34xx.S

Message ID 1299713573-8070-1-git-send-email-john.rigby@linaro.org
State New
Headers show

Commit Message

John Rigby March 9, 2011, 11:32 p.m. UTC
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>
---
 arch/arm/mach-omap2/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff mbox

Patch

diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile
index 898fffe..1d2d1f6 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