summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-s3c64xx/include/plat/regs-sys.h
diff options
context:
space:
mode:
authorBen Dooks2009-03-10 12:48:07 +0100
committerBen Dooks2009-03-10 12:48:07 +0100
commitfff94cd9f5527bbba13aa5ea5719d16531ca8e65 (patch)
treebddf3ef686410872d8da882688229688710d574b /arch/arm/plat-s3c64xx/include/plat/regs-sys.h
parent[ARM] S3C: Do not kmalloc/kfree during inner suspend code. (diff)
downloadkernel-qcow2-linux-fff94cd9f5527bbba13aa5ea5719d16531ca8e65.tar.gz
kernel-qcow2-linux-fff94cd9f5527bbba13aa5ea5719d16531ca8e65.tar.xz
kernel-qcow2-linux-fff94cd9f5527bbba13aa5ea5719d16531ca8e65.zip
[ARM] S3C: Tidy sleep code path to fix call flow
As noted by Russell King, the sleep code path is not elegant and makes use of leaving items on the stack between calls. Change the code that does the following: if (s3c_cpu_save(regs_save) == 0) { flush_cache_all(); S3C_PMDBG("preparing to sleep\n"); pm_cpu_sleep(); } to simply call s3c_cpu_save, and let that do the necessary calls to quiesce and sleep the system. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-s3c64xx/include/plat/regs-sys.h')
0 files changed, 0 insertions, 0 deletions