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/mach | ||
clock.c | ||
cpu.c | ||
cpufreq.c | ||
cpuidle.c | ||
dev-ahci.c | ||
dev-audio.c | ||
dev-pd.c | ||
dev-sysmmu.c | ||
dma.c | ||
headsmp.S | ||
hotplug.c | ||
init.c | ||
irq-combiner.c | ||
irq-eint.c | ||
Kconfig | ||
localtimer.c | ||
mach-armlex4210.c | ||
mach-nuri.c | ||
mach-smdkc210.c | ||
mach-smdkv310.c | ||
mach-universal_c210.c | ||
Makefile | ||
Makefile.boot | ||
mct.c | ||
platsmp.c | ||
pm.c | ||
setup-fimc.c | ||
setup-i2c0.c | ||
setup-i2c1.c | ||
setup-i2c2.c | ||
setup-i2c3.c | ||
setup-i2c4.c | ||
setup-i2c5.c | ||
setup-i2c6.c | ||
setup-i2c7.c | ||
setup-keypad.c | ||
setup-sdhci-gpio.c | ||
setup-sdhci.c | ||
setup-usb-phy.c | ||
sleep.S | ||
time.c |