summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorOskar Andero <oskar.andero@sonyericsson.com>2011-04-26 02:24:50 -0700
committerTony Lindgren <tony@atomide.com>2011-04-26 02:24:50 -0700
commit6ba5932ca4b610d036cb89d0ce2a465d06504c4d (patch)
tree08342d346fbd2ca43d03a7368e9435404ac1c565 /arch
parentf0e615c3cb72b42191b558c130409335812621d8 (diff)
arm: omap2: enable smc instruction for sleep34xx
This fixes broken build when using binutils 2.21. Signed-off-by: Oskar Andero <oskar.andero@sonyericsson.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch')
-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 a45cd6409686..512b15204450 100644
--- a/arch/arm/mach-omap2/Makefile
+++ b/arch/arm/mach-omap2/Makefile
@@ -68,7 +68,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