aboutsummaryrefslogtreecommitdiffstats
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/include/asm/pgalloc.h b/arch/xtensa/include/asm/pgalloc.h
index eeb2de3a89e5..7fc0f9126dd3 100644
--- a/arch/xtensa/include/asm/pgalloc.h
+++ b/arch/xtensa/include/asm/pgalloc.h
@@ -29,7 +29,7 @@
static inline pgd_t*
pgd_alloc(struct mm_struct *mm)
{
- return (pgd_t*) __get_free_pages(GFP_KERNEL | __GFP_ZERO, PGD_ORDER);
+ return (pgd_t*) __get_free_page(GFP_KERNEL | __GFP_ZERO);
}
static inline void ptes_clear(pte_t *ptep)