mm: thp: fix the pmd_clear() arguments in pmdp_get_and_clear()
[pandora-kernel.git] / include / asm-generic / pgtable.h
index bc00876..dd7ef8a 100644 (file)
@@ -86,7 +86,7 @@ static inline pmd_t pmdp_get_and_clear(struct mm_struct *mm,
                                       pmd_t *pmdp)
 {
        pmd_t pmd = *pmdp;
-       pmd_clear(mm, address, pmdp);
+       pmd_clear(pmdp);
        return pmd;
 }
 #endif /* CONFIG_TRANSPARENT_HUGEPAGE */