powerpc/mm: Remove flush_HPTE()
[deliverable/linux.git] / arch / powerpc / mm / pgtable_32.c
index c7b755cba26af845ee3d8a14e715f15cf4185454..341472440137e9c10e36e953eb91201259d8b503 100644 (file)
@@ -342,7 +342,11 @@ static int __change_page_attr(struct page *page, pgprot_t prot)
                return -EINVAL;
        set_pte_at(&init_mm, address, kpte, mk_pte(page, prot));
        wmb();
-       flush_HPTE(0, address, pmd_val(*kpmd));
+#ifdef CONFIG_PPC_STD_MMU
+       flush_hash_pages(0, address, pmd_val(*kpmd), 1);
+#else
+       flush_tlb_page(NULL, address);
+#endif
        pte_unmap(kpte);
 
        return 0;
This page took 0.024203 seconds and 5 git commands to generate.