aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/hugetlb.h
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2016-07-13 15:06:38 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2016-08-01 11:15:09 +1000
commit13dce033637b8e4d3266667c4df4d72fc37dc0a9 (patch)
tree8a2a6efbf61fcdf119d55c67a0c08cccc5f62c2b /arch/powerpc/include/asm/hugetlb.h
parentpowerpc/mm/hash: Add helper for finding SLBE LLP encoding (diff)
downloadlinux-dev-13dce033637b8e4d3266667c4df4d72fc37dc0a9.tar.xz
linux-dev-13dce033637b8e4d3266667c4df4d72fc37dc0a9.zip
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>
Diffstat (limited to 'arch/powerpc/include/asm/hugetlb.h')
-rw-r--r--arch/powerpc/include/asm/hugetlb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/hugetlb.h b/arch/powerpc/include/asm/hugetlb.h
index e2d9f4996e5c..c5517f463ec7 100644
--- a/arch/powerpc/include/asm/hugetlb.h
+++ b/arch/powerpc/include/asm/hugetlb.h
@@ -147,7 +147,7 @@ static inline void huge_ptep_clear_flush(struct vm_area_struct *vma,
{
pte_t pte;
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)