summaryrefslogtreecommitdiff
path: root/include/asm-ia64/pgalloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-ia64/pgalloc.h')
-rw-r--r--include/asm-ia64/pgalloc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-ia64/pgalloc.h b/include/asm-ia64/pgalloc.h
index 9d0740f2e455..c8a1f77d89d0 100644
--- a/include/asm-ia64/pgalloc.h
+++ b/include/asm-ia64/pgalloc.h
@@ -106,6 +106,8 @@ pmd_free (pmd_t *pmd)
++pgtable_cache_size;
}
+#define pmd_free_tlb(tlb, pmd) pmd_free(pmd)
+
static inline void
pmd_populate (struct mm_struct *mm, pmd_t *pmd_entry, struct page *pte)
{
@@ -150,6 +152,8 @@ pte_free_kernel (pte_t *pte)
free_page((unsigned long) pte);
}
+#define pte_free_tlb(tlb, pte) tlb_remove_page((tlb), (pte))
+
extern void check_pgt_cache (void);
/*