e8856a8797
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> |
||
---|---|---|
.. | ||
include | ||
clock-dclk.c | ||
clock.c | ||
common-smdk.c | ||
cpu-freq-debugfs.c | ||
cpu-freq.c | ||
cpu.c | ||
devs.c | ||
dma.c | ||
gpio.c | ||
gpiolib.c | ||
irq-pm.c | ||
irq.c | ||
Kconfig | ||
Makefile | ||
pm-simtec.c | ||
pm.c | ||
s3c2410-clock.c | ||
s3c2410-cpufreq-utils.c | ||
s3c2410-iotiming.c | ||
s3c2412-iotiming.c | ||
s3c2443-clock.c | ||
setup-i2c.c | ||
setup-ts.c | ||
simtec-audio.c | ||
sleep.S | ||
spi-bus0-gpe11_12_13.c | ||
spi-bus1-gpd8_9_10.c | ||
spi-bus1-gpg5_6_7.c |