summaryrefslogtreecommitdiffstats
path: root/arch/ppc/kernel/sleep.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc/kernel/sleep.S')
-rw-r--r--arch/ppc/kernel/sleep.S5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/ppc/kernel/sleep.S b/arch/ppc/kernel/sleep.S
index 3ead7bd28..b73acd6ce 100644
--- a/arch/ppc/kernel/sleep.S
+++ b/arch/ppc/kernel/sleep.S
@@ -171,6 +171,11 @@ _GLOBAL(low_sleep_handler)
*/
wake_up:
+ /* Flash inval the instruction cache */
+ mfspr r3,HID0
+ ori r3,r3, HID0_ICFI
+ mtspr HID0,r3
+ isync
/* Restore the HID0 register. This turns on the L1 caches. */
subi r1,r1,SL_PC
lwz r3,SL_HID0(r1)