aboutsummaryrefslogtreecommitdiffstats
path: root/arch/nios2/include/asm/pgalloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/nios2/include/asm/pgalloc.h')
-rw-r--r--arch/nios2/include/asm/pgalloc.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/nios2/include/asm/pgalloc.h b/arch/nios2/include/asm/pgalloc.h
index 4bc8cf72067e..0b146d773c85 100644
--- a/arch/nios2/include/asm/pgalloc.h
+++ b/arch/nios2/include/asm/pgalloc.h
@@ -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 */