summaryrefslogtreecommitdiff
path: root/arch/xtensa/include/asm/pgalloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/xtensa/include/asm/pgalloc.h')
-rw-r--r--arch/xtensa/include/asm/pgalloc.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/xtensa/include/asm/pgalloc.h b/arch/xtensa/include/asm/pgalloc.h
index 5553abed6933..d3a22da4d2c9 100644
--- a/arch/xtensa/include/asm/pgalloc.h
+++ b/arch/xtensa/include/asm/pgalloc.h
@@ -33,11 +33,6 @@ pgd_alloc(struct mm_struct *mm)
return (pgd_t*) __get_free_pages(GFP_KERNEL | __GFP_ZERO, PGD_ORDER);
}
-static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd)
-{
- free_page((unsigned long)pgd);
-}
-
static inline void ptes_clear(pte_t *ptep)
{
int i;