Files
linux/arch/arm/mach-pxa
Russell King e8856a8797 ARM: pm: convert cpu_suspend() to a normal function
cpu_suspend() has a weird calling method which makes it only possible to
call from assembly code: it returns with a modified stack pointer to
finish the suspend, but on resume, it 'returns' via a provided pointer.

We can make cpu_suspend() appear to be a normal function merely by
swapping the resume pointer argument and the link register.

Do so, and update all callers to take account of this more traditional
behaviour.

Acked-by: Frank Hofmann <frank.hofmann@tomtom.com>
Tested-by: Kevin Hilman <khilman@ti.com>
Acked-by: Jean Pihet <j-pihet@ti.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2011-06-24 08:48:43 +01:00
..
2011-01-06 22:33:32 +00:00
2011-03-21 09:09:33 +00:00
2011-03-16 16:32:47 +08:00
2010-12-20 23:07:42 +08:00
2011-03-21 09:09:33 +00:00
2011-03-16 16:32:47 +08:00
2011-03-16 16:32:47 +08:00
2010-12-18 21:02:14 +08:00
2011-03-21 09:09:33 +00:00
2011-03-21 09:09:33 +00:00
2011-03-21 09:09:33 +00:00
2011-03-16 16:32:47 +08:00
2011-03-21 09:09:33 +00:00
2011-03-16 16:32:47 +08:00