summaryrefslogtreecommitdiffstats
path: root/arch/csky/include/asm/pgalloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/csky/include/asm/pgalloc.h')
-rw-r--r--arch/csky/include/asm/pgalloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/csky/include/asm/pgalloc.h b/arch/csky/include/asm/pgalloc.h
index bbbd0698b397..7d57e5da0914 100644
--- a/arch/csky/include/asm/pgalloc.h
+++ b/arch/csky/include/asm/pgalloc.h
@@ -44,7 +44,7 @@ static inline pgd_t *pgd_alloc(struct mm_struct *mm)
pgd_t *ret;
pgd_t *init;
- ret = (pgd_t *) __get_free_pages(GFP_KERNEL, PGD_ORDER);
+ ret = (pgd_t *) __get_free_page(GFP_KERNEL);
if (ret) {
init = pgd_offset(&init_mm, 0UL);
pgd_init((unsigned long *)ret);