arm64: Fix typo in the pmdp_huge_get_and_clear() definition
[deliverable/linux.git] / arch / arm64 / include / asm / pgtable.h
index 3eefc181d00b3649e72f6dfafcda34b9dc717b95..b0ad16f05bcc62164e1c2cfe1286cfb0d35b0e31 100644 (file)
@@ -592,9 +592,9 @@ static inline pte_t ptep_get_and_clear(struct mm_struct *mm,
 }
 
 #ifdef CONFIG_TRANSPARENT_HUGEPAGE
-#define __HAVE_ARCH_PMDP_GET_AND_CLEAR
-static inline pmd_t pmdp_get_and_clear(struct mm_struct *mm,
-                                      unsigned long address, pmd_t *pmdp)
+#define __HAVE_ARCH_PMDP_HUGE_GET_AND_CLEAR
+static inline pmd_t pmdp_huge_get_and_clear(struct mm_struct *mm,
+                                           unsigned long address, pmd_t *pmdp)
 {
        return pte_pmd(ptep_get_and_clear(mm, address, (pte_t *)pmdp));
 }
This page took 0.024957 seconds and 5 git commands to generate.