aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2014-03-15 12:47:45 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2014-05-22 11:38:31 -0400
commitb13b9e98b80fa24460a011ba0378d3fe56137a31 (patch)
tree0ade71f7495e9829308b94d57f893c8eeede3ab8
parent265c271c822bd57677e3b286389487fd45e6960d (diff)
ARM: l2c: remove unnecessary call to outer_flush_all()
outer_disable() is defined to safely turn the L2 cache off without data loss: this means that outer_flush_all() should never be called unless you need to implement some special L2 cache disabling, and even then only from your replacement L2 cache disable function. Acked-by: Barry Song <Baohua.Song@csr.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r--arch/arm/mach-prima2/pm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-prima2/pm.c b/arch/arm/mach-prima2/pm.c
index c4525a88e5da..96e9bc102117 100644
--- a/arch/arm/mach-prima2/pm.c
+++ b/arch/arm/mach-prima2/pm.c
@@ -71,7 +71,6 @@ static int sirfsoc_pm_enter(suspend_state_t state)
71 case PM_SUSPEND_MEM: 71 case PM_SUSPEND_MEM:
72 sirfsoc_pre_suspend_power_off(); 72 sirfsoc_pre_suspend_power_off();
73 73
74 outer_flush_all();
75 outer_disable(); 74 outer_disable();
76 /* go zzz */ 75 /* go zzz */
77 cpu_suspend(0, sirfsoc_finish_suspend); 76 cpu_suspend(0, sirfsoc_finish_suspend);