summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2009-04-28 11:06:00 +0200
committerBen Dooks <ben-linux@fluff.org>2009-05-01 13:28:16 +0200
commitdc8fc7edef5fe799a1c38c916d2c64b1d0fcf81a (patch)
tree35574a74f32649e3f0eb83d58472eda73afd8e54 /arch/arm
parent[ARM] S3C: Add UDIVSLOT support for newer UARTS (diff)
downloadlinux-dc8fc7edef5fe799a1c38c916d2c64b1d0fcf81a.tar.xz
linux-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')
-rw-r--r--arch/arm/mach-s3c2412/pm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2412/pm.c b/arch/arm/mach-s3c2412/pm.c
index c9cfe40e21f6..a7417c479ffe 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);