diff options
author | Ben Dooks <ben-linux@fluff.org> | 2006-09-15 19:04:23 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-09-25 05:25:21 -0400 |
commit | 58095d7f39edc919cd3c63c6109ad282e7085da1 (patch) | |
tree | d0e7f7ef1a5a4b68dafbbc8e83eb57abd581bb83 /arch/arm/mach-s3c2410/pm.h | |
parent | 1e582fc73781da47eddd90c75bf97f191e4f450f (diff) |
[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.h | 3 |
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; | |||
40 | 40 | ||
41 | /* from sleep.S */ | 41 | /* from sleep.S */ |
42 | 42 | ||
43 | extern void s3c2410_cpu_suspend(unsigned long *saveblk); | 43 | extern int s3c2410_cpu_save(unsigned long *saveblk); |
44 | extern void s3c2410_cpu_suspend(void); | ||
44 | extern void s3c2410_cpu_resume(void); | 45 | extern void s3c2410_cpu_resume(void); |
45 | 46 | ||
46 | extern unsigned long s3c2410_sleep_save_phys; | 47 | extern unsigned long s3c2410_sleep_save_phys; |