summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c2410/pm.h
diff options
context:
space:
mode:
authorBen Dooks2006-09-16 01:04:23 +0200
committerRussell King2006-09-25 11:25:21 +0200
commit58095d7f39edc919cd3c63c6109ad282e7085da1 (patch)
treed0e7f7ef1a5a4b68dafbbc8e83eb57abd581bb83 /arch/arm/mach-s3c2410/pm.h
parent[ARM] 3801/1: S3C24XX: Move IRQ PM out of pm.c (diff)
downloadkernel-qcow2-linux-58095d7f39edc919cd3c63c6109ad282e7085da1.tar.gz
kernel-qcow2-linux-58095d7f39edc919cd3c63c6109ad282e7085da1.tar.xz
kernel-qcow2-linux-58095d7f39edc919cd3c63c6109ad282e7085da1.zip
[ARM] 3802/1: S3C24XX: PM tidy up cache flushing
Change to using flush_cache_all() in pm.c and also remove the need to flush the cache in the PM code. This changes the sleep.S code to have an entry to store the registers for resume, and then a second entry (after the caches are cleaned) to do the suspend and resume. Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-s3c2410/pm.h')
-rw-r--r--arch/arm/mach-s3c2410/pm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c2410/pm.h b/arch/arm/mach-s3c2410/pm.h
index b04e4ca0bb4d..fa8e237cfee8 100644
--- a/arch/arm/mach-s3c2410/pm.h
+++ b/arch/arm/mach-s3c2410/pm.h
@@ -40,7 +40,8 @@ extern unsigned long s3c_pm_flags;
/* from sleep.S */
-extern void s3c2410_cpu_suspend(unsigned long *saveblk);
+extern int s3c2410_cpu_save(unsigned long *saveblk);
+extern void s3c2410_cpu_suspend(void);
extern void s3c2410_cpu_resume(void);
extern unsigned long s3c2410_sleep_save_phys;