From: Nick Bowler Date: Wed, 24 Aug 2011 17:55:37 +0000 (+0100) Subject: ARM: 7064/1: vexpress: Use wfi macro in platform_do_lowpower. X-Git-Tag: v3.2-rc1~189^2^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3377d1865723cea5334954e6ffcb2182b6689c8;p=pandora-kernel.git ARM: 7064/1: vexpress: Use wfi macro in platform_do_lowpower. Current Versatile Express CPU hotplug code includes a hardcoded WFI instruction, in ARM encoding. When the kernel is compiled in Thumb-2 mode, this is invalid and causes the machine to hang hard when a CPU is offlined. Using the wfi macro (which uses the appropriate assembler mnemonic) causes the correct instruction to be emitted in either case. As a consequence of this change, an apparently vestigial "cc" clobber is dropped from the asm (the macro uses "memory" only). Signed-off-by: Nick Bowler Reviewed-by: Jamie Iles Signed-off-by: Russell King --- Reading git-diff-tree failed