aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/m68k/include/asm/mcf_pgalloc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/m68k/include/asm/mcf_pgalloc.h b/arch/m68k/include/asm/mcf_pgalloc.h
index 8b707c249026..12fe700632f4 100644
--- a/arch/m68k/include/asm/mcf_pgalloc.h
+++ b/arch/m68k/include/asm/mcf_pgalloc.h
@@ -44,6 +44,7 @@ extern inline pmd_t *pmd_alloc_kernel(pgd_t *pgd, unsigned long address)
44static inline void __pte_free_tlb(struct mmu_gather *tlb, pgtable_t page, 44static inline void __pte_free_tlb(struct mmu_gather *tlb, pgtable_t page,
45 unsigned long address) 45 unsigned long address)
46{ 46{
47 pgtable_page_dtor(page);
47 __free_page(page); 48 __free_page(page);
48} 49}
49 50
@@ -74,8 +75,9 @@ static inline struct page *pte_alloc_one(struct mm_struct *mm,
74 return page; 75 return page;
75} 76}
76 77
77extern inline void pte_free(struct mm_struct *mm, struct page *page) 78static inline void pte_free(struct mm_struct *mm, struct page *page)
78{ 79{
80 pgtable_page_dtor(page);
79 __free_page(page); 81 __free_page(page);
80} 82}
81 83