summaryrefslogtreecommitdiff
path: root/arch/ppc/mm/tlb.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc/mm/tlb.c')
-rw-r--r--arch/ppc/mm/tlb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc/mm/tlb.c b/arch/ppc/mm/tlb.c
index 34605ba4ac2f..bedc1048e9a6 100644
--- a/arch/ppc/mm/tlb.c
+++ b/arch/ppc/mm/tlb.c
@@ -62,7 +62,7 @@ void flush_hash_one_pte(pte_t *ptep)
ptepage = virt_to_page(ptep);
mm = (struct mm_struct *) ptepage->mapping;
ptephys = __pa(ptep) & PAGE_MASK;
- addr = ptepage->index + (((unsigned long)ptep & ~PAGE_MASK) << 9);
+ addr = ptepage->index + (((unsigned long)ptep & ~PAGE_MASK) << 10);
flush_hash_pages(mm->context, addr, ptephys, 1);
}