ARM: omap3: Remove hand-encoded SMC instructions
authorDave Martin <dave.martin@linaro.org>
Fri, 4 Mar 2011 15:33:55 +0000 (15:33 +0000)
committerKevin Hilman <khilman@ti.com>
Thu, 10 Mar 2011 00:38:36 +0000 (16:38 -0800)
commit76d500182061dcc7508e6b829af097348fa7d804
tree3948584135d93937f668481acbcfab795efedbb5
parentf96bdfa0d036393741fce303ea98abb44452d042
ARM: omap3: Remove hand-encoded SMC instructions

For various reasons, Linux now only officially supports being built
with tools which are new enough to understand the SMC instruction.

Replacing the hand-encoded instructions when the mnemonic also
allows for correct assembly in Thumb-2 (otherwise, the result is
random data in the middle of the code).

The Makefile already ensures that this file is built with a high
enough gcc -march= flag (armv7-a).

Signed-off-by: Dave Martin <dave.martin@linaro.org>
Tested-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Tested-by: Jean Pihet <j-pihet@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/sleep34xx.S