diff options
author | Nick Bowler <nbowler@elliptictech.com> | 2011-08-24 17:55:37 (GMT) |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-10-17 08:12:41 (GMT) |
commit | b3377d1865723cea5334954e6ffcb2182b6689c8 (patch) | |
tree | e7c5dbe9e9daecf7c419e5302e11eb1e56e0575f /arch/arm/lib | |
parent | ef4c53687e0adf5409896c4fa688b15f8d4dc0c0 (diff) | |
download | linux-b3377d1865723cea5334954e6ffcb2182b6689c8.tar.xz |
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 <nbowler@elliptictech.com>
Reviewed-by: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/lib')
0 files changed, 0 insertions, 0 deletions