Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 13dce033 authored by Aneesh Kumar K.V's avatar Aneesh Kumar K.V Committed by Michael Ellerman
Browse files

powerpc/mm: Use hugetlb flush functions



Use flush_hugetlb_page instead of flush_tlb_page when we clear flush the
pte.

Signed-off-by: default avatarAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 138ee7ee
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -147,7 +147,7 @@ static inline void huge_ptep_clear_flush(struct vm_area_struct *vma,
{
{
	pte_t pte;
	pte_t pte;
	pte = huge_ptep_get_and_clear(vma->vm_mm, addr, ptep);
	pte = huge_ptep_get_and_clear(vma->vm_mm, addr, ptep);
	flush_tlb_page(vma, addr);
	flush_hugetlb_page(vma, addr);
}
}


static inline int huge_pte_none(pte_t pte)
static inline int huge_pte_none(pte_t pte)