Merge tag 'for-linus-20191012' of git://git.kernel.dk/linux-block
[linux-2.6-microblaze.git] / arch / nios2 / include / asm / pgalloc.h
index 4bc8cf7..0b146d7 100644 (file)
@@ -41,10 +41,8 @@ static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd)
 
 #define __pte_free_tlb(tlb, pte, addr)                         \
        do {                                                    \
-               pgtable_page_dtor(pte);                         \
+               pgtable_pte_page_dtor(pte);                     \
                tlb_remove_page((tlb), (pte));                  \
        } while (0)
 
-#define check_pgt_cache()      do { } while (0)
-
 #endif /* _ASM_NIOS2_PGALLOC_H */