|
@@ -21,6 +21,7 @@
|
|
#include <linux/io.h>
|
|
#include <linux/io.h>
|
|
|
|
|
|
#include <mach/hardware.h>
|
|
#include <mach/hardware.h>
|
|
|
|
+#include <asm/cacheflush.h>
|
|
#include <asm/irq.h>
|
|
#include <asm/irq.h>
|
|
|
|
|
|
#include <mach/regs-power.h>
|
|
#include <mach/regs-power.h>
|
|
@@ -39,6 +40,8 @@ static void s3c2412_cpu_suspend(void)
|
|
{
|
|
{
|
|
unsigned long tmp;
|
|
unsigned long tmp;
|
|
|
|
|
|
|
|
+ flush_cache_all();
|
|
|
|
+
|
|
/* set our standby method to sleep */
|
|
/* set our standby method to sleep */
|
|
|
|
|
|
tmp = __raw_readl(S3C2412_PWRCFG);
|
|
tmp = __raw_readl(S3C2412_PWRCFG);
|