diff options
author | Ben Dooks <ben-linux@fluff.org> | 2009-04-28 10:06:00 +0100 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-05-01 12:28:16 +0100 |
commit | dc8fc7edef5fe799a1c38c916d2c64b1d0fcf81a (patch) | |
tree | 35574a74f32649e3f0eb83d58472eda73afd8e54 /arch/arm/mach-s3c2412 | |
parent | 090f848da000083bf6c1a052222396970e53b4d7 (diff) | |
download | linux-3.10-dc8fc7edef5fe799a1c38c916d2c64b1d0fcf81a.tar.gz linux-3.10-dc8fc7edef5fe799a1c38c916d2c64b1d0fcf81a.tar.bz2 linux-3.10-dc8fc7edef5fe799a1c38c916d2c64b1d0fcf81a.zip |
[ARM] S3C2412: Add missing cache flush in suspend code
The alterations to the suspend code missed adding a
call to the cache flushing routines during the suspend
path of the S3C2412.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-s3c2412')
-rw-r--r-- | arch/arm/mach-s3c2412/pm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2412/pm.c b/arch/arm/mach-s3c2412/pm.c index c9cfe40e21f..a7417c479ff 100644 --- a/arch/arm/mach-s3c2412/pm.c +++ b/arch/arm/mach-s3c2412/pm.c @@ -21,6 +21,7 @@ #include <linux/io.h> #include <mach/hardware.h> +#include <asm/cacheflush.h> #include <asm/irq.h> #include <mach/regs-power.h> @@ -39,6 +40,8 @@ static void s3c2412_cpu_suspend(void) { unsigned long tmp; + flush_cache_all(); + /* set our standby method to sleep */ tmp = __raw_readl(S3C2412_PWRCFG); |