commit | 85243a762457f7891ae525df39ad44323b3eeea6 | [log] [tgz] |
---|---|---|
author | Dave Martin <dave.martin@linaro.org> | Fri Mar 04 15:33:53 2011 +0000 |
committer | Kevin Hilman <khilman@ti.com> | Wed Mar 09 16:38:35 2011 -0800 |
tree | 479c3c60549f6f5e3af6ddfd9b8ca7153e43f3d7 | |
parent | 2de0baefaa7f2fad221bba6049e389e39990e2f0 [diff] |
ARM: omap4: Provide do_wfi() for Thumb-2 For CONFIG_THUMB2_KERNEL, the existing definition of do_wfi() will insert invalid code into the instruction stream. Any assembler which can assemble Thumb-2 is guaranteed to accept the "wfi" mnemonic, so for the Thumb-2 case, just use the mnemonic. The ARM case is left as-is. Signed-off-by: Dave Martin <dave.martin@linaro.org> Signed-off-by: Kevin Hilman <khilman@ti.com>