Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc/mm: Use hugetlb flush functions

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

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>

authored by

Aneesh Kumar K.V and committed by
Michael Ellerman
13dce033 138ee7ee

+1 -1
+1 -1
arch/powerpc/include/asm/hugetlb.h
··· 147 147 { 148 148 pte_t pte; 149 149 pte = huge_ptep_get_and_clear(vma->vm_mm, addr, ptep); 150 - flush_tlb_page(vma, addr); 150 + flush_hugetlb_page(vma, addr); 151 151 } 152 152 153 153 static inline int huge_pte_none(pte_t pte)