aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/mm/pgtable_32.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/powerpc/mm/pgtable_32.c b/arch/powerpc/mm/pgtable_32.c
index 767b0cf17d33..9fc02dc72ce9 100644
--- a/arch/powerpc/mm/pgtable_32.c
+++ b/arch/powerpc/mm/pgtable_32.c
@@ -393,11 +393,7 @@ static int __change_page_attr(struct page *page, pgprot_t prot)
393 return -EINVAL; 393 return -EINVAL;
394 __set_pte_at(&init_mm, address, kpte, mk_pte(page, prot), 0); 394 __set_pte_at(&init_mm, address, kpte, mk_pte(page, prot), 0);
395 wmb(); 395 wmb();
396#ifdef CONFIG_PPC_STD_MMU
397 flush_hash_pages(0, address, pmd_val(*kpmd), 1);
398#else
399 flush_tlb_page(NULL, address); 396 flush_tlb_page(NULL, address);
400#endif
401 pte_unmap(kpte); 397 pte_unmap(kpte);
402 398
403 return 0; 399 return 0;