mm: clarify that the function operates on hugepage pte
[firefly-linux-kernel-4.4.55.git] / arch / x86 / include / asm / pgtable.h
index 2562e303405b9d3c314c46a1ce180d4d097d7a11..867da5bbb4a33df1d268d3f282cda30d0fdf671d 100644 (file)
@@ -805,8 +805,8 @@ static inline int pmd_write(pmd_t pmd)
        return pmd_flags(pmd) & _PAGE_RW;
 }
 
-#define __HAVE_ARCH_PMDP_GET_AND_CLEAR
-static inline pmd_t pmdp_get_and_clear(struct mm_struct *mm, unsigned long addr,
+#define __HAVE_ARCH_PMDP_HUGE_GET_AND_CLEAR
+static inline pmd_t pmdp_huge_get_and_clear(struct mm_struct *mm, unsigned long addr,
                                       pmd_t *pmdp)
 {
        pmd_t pmd = native_pmdp_get_and_clear(pmdp);