提交 372c0ac8 编写于 作者: R Russell King

ARM: pm: samsung: no need to call flush_cache_all()

The core suspend code calls flush_cache_all() immediately prior to
calling the suspend finisher function, so remove these needless calls
from the finisher functions.
Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 e7089da9
...@@ -41,8 +41,6 @@ static void s3c2412_cpu_suspend(unsigned long arg) ...@@ -41,8 +41,6 @@ static void s3c2412_cpu_suspend(unsigned long arg)
{ {
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);
......
...@@ -26,8 +26,6 @@ extern void s3c2412_sleep_enter(void); ...@@ -26,8 +26,6 @@ extern void s3c2412_sleep_enter(void);
static void s3c2416_cpu_suspend(unsigned long arg) static void s3c2416_cpu_suspend(unsigned long arg)
{ {
flush_cache_all();
/* enable wakeup sources regardless of battery state */ /* enable wakeup sources regardless of battery state */
__raw_writel(S3C2443_PWRCFG_SLEEP, S3C2443_PWRCFG); __raw_writel(S3C2443_PWRCFG_SLEEP, S3C2443_PWRCFG);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册