From: Dave Martin Date: Fri, 4 Mar 2011 15:33:53 +0000 (+0000) Subject: ARM: omap4: Provide do_wfi() for Thumb-2 X-Git-Tag: v2.6.39-rc1~432^2~11^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85243a762457f7891ae525df39ad44323b3eeea6;p=pandora-kernel.git 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 Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed