aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc64/mm/slb.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc64/mm/slb.c')
-rw-r--r--arch/ppc64/mm/slb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ppc64/mm/slb.c b/arch/ppc64/mm/slb.c
index 244150a0bc1871..0473953f6a3771 100644
--- a/arch/ppc64/mm/slb.c
+++ b/arch/ppc64/mm/slb.c
@@ -87,8 +87,8 @@ void switch_slb(struct task_struct *tsk, struct mm_struct *mm)
int i;
asm volatile("isync" : : : "memory");
for (i = 0; i < offset; i++) {
- esid_data = (unsigned long)get_paca()->slb_cache[i]
- << SID_SHIFT;
+ esid_data = ((unsigned long)get_paca()->slb_cache[i]
+ << SID_SHIFT) | SLBIE_C;
asm volatile("slbie %0" : : "r" (esid_data));
}
asm volatile("isync" : : : "memory");