]> git.baikalelectronics.ru Git - kernel.git/commit
OMAP4: enable smc instruction in new assembler versions
authorJohn Rigby <john.rigby@linaro.org>
Wed, 1 Dec 2010 05:57:51 +0000 (05:57 +0000)
committerTony Lindgren <tony@atomide.com>
Sat, 18 Dec 2010 01:28:07 +0000 (17:28 -0800)
commite5f17c32c8b8563f0f986d67a8e63c280f200898
tree5287cf84431594675d712cb1ed1052db84d7e867
parent32d71d3dfd50817207523b2f3f9372232f483c64
OMAP4: enable smc instruction in new assembler versions

New assemblers need -march=armv7-a+sec on command line or
.arch_extension sec inline to enable use of the smc instruction.

This patch uses as-instr to check the latter to conditionally
enable the former in AFLAGS for files that use smc.

Checked on both old and new binutils to verify that it does
not break old versions.

Signed-off-by: John Rigby <john.rigby@linaro.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/Makefile