aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/include/asm/pgalloc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/include/asm/pgalloc.h b/arch/mips/include/asm/pgalloc.h
index 1275831dda29..f705735feefc 100644
--- a/arch/mips/include/asm/pgalloc.h
+++ b/arch/mips/include/asm/pgalloc.h
@@ -98,7 +98,7 @@ static inline void pte_free(struct mm_struct *mm, pgtable_t pte)
98 __free_pages(pte, PTE_ORDER); 98 __free_pages(pte, PTE_ORDER);
99} 99}
100 100
101#define __pte_free_tlb(tlb,pte) \ 101#define __pte_free_tlb(tlb,pte,address) \
102do { \ 102do { \
103 pgtable_page_dtor(pte); \ 103 pgtable_page_dtor(pte); \
104 tlb_remove_page((tlb), pte); \ 104 tlb_remove_page((tlb), pte); \
@@ -111,7 +111,7 @@ do { \
111 * inside the pgd, so has no extra memory associated with it. 111 * inside the pgd, so has no extra memory associated with it.
112 */ 112 */
113#define pmd_free(mm, x) do { } while (0) 113#define pmd_free(mm, x) do { } while (0)
114#define __pmd_free_tlb(tlb, x) do { } while (0) 114#define __pmd_free_tlb(tlb, x, addr) do { } while (0)
115 115
116#endif 116#endif
117 117
@@ -132,7 +132,7 @@ static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd)
132 free_pages((unsigned long)pmd, PMD_ORDER); 132 free_pages((unsigned long)pmd, PMD_ORDER);
133} 133}
134 134
135#define __pmd_free_tlb(tlb, x) pmd_free((tlb)->mm, x) 135#define __pmd_free_tlb(tlb, x, addr) pmd_free((tlb)->mm, x)
136 136
137#endif 137#endif
138 138