kernel-ark/arch
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
..
alpha alpha: fix several security issues 2011-06-15 20:04:02 -07:00
arm ARM: pm: convert cpu_suspend() to a normal function 2011-06-24 08:48:43 +01:00
avr32 rtc: fix build warnings in defconfigs 2011-06-15 20:04:02 -07:00
blackfin rtc: fix build warnings in defconfigs 2011-06-15 20:04:02 -07:00
cris
frv
h8300
ia64
m32r
m68k
microblaze
mips rtc: fix build warnings in defconfigs 2011-06-15 20:04:02 -07:00
mn10300
parisc
powerpc rtc: fix build warnings in defconfigs 2011-06-15 20:04:02 -07:00
s390
score
sh Merge branch 'sh-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-3.x 2011-06-16 09:46:24 -07:00
sparc
tile
um
unicore32
x86 x86 idle: APM requires pm_idle/default_idle unconditionally when a module 2011-06-14 13:42:20 -07:00
xtensa
.gitignore
Kconfig