linux/arch/arm/mach-vexpress
Nick Bowler b3377d1865 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>
2011-10-17 09:12:41 +01:00
..
include/mach ARM: consolidate SMP cross call implementation 2011-05-23 16:53:17 +01:00
core.h ARM: 6771/1: vexpress: add support for multiple core tiles 2011-03-20 09:32:21 +00:00
ct-ca9x4.c ARM: 6993/1: platsmp: Allow secondary cpu hotplug with maxcpus=1 2011-07-07 14:45:07 +01:00
hotplug.c ARM: 7064/1: vexpress: Use wfi macro in platform_do_lowpower. 2011-10-17 09:12:41 +01:00
Kconfig ARM: 6751/1: vexpress: select applicable errata workarounds in Kconfig 2011-02-27 12:08:48 +00:00
Makefile ARM: realview/vexpress: consolidate SMP bringup code 2011-02-19 11:11:41 +00:00
Makefile.boot ARM: 7022/1: allow to detect conflicting zreladdrs 2011-10-17 09:12:40 +01:00
platsmp.c ARM: 6771/1: vexpress: add support for multiple core tiles 2011-03-20 09:32:21 +00:00
v2m.c ARM: 7003/1: vexpress: Add clock definition for the SP805. 2011-08-24 09:45:21 +01:00