summaryrefslogtreecommitdiffstats
path: root/arch/unicore32/mm/pgd.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/unicore32/mm/pgd.c')
-rw-r--r--arch/unicore32/mm/pgd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/unicore32/mm/pgd.c b/arch/unicore32/mm/pgd.c
index 2ade20d8eab3..c572a28c76c9 100644
--- a/arch/unicore32/mm/pgd.c
+++ b/arch/unicore32/mm/pgd.c
@@ -54,7 +54,7 @@ pgd_t *get_pgd_slow(struct mm_struct *mm)
if (!new_pmd)
goto no_pmd;
- new_pte = pte_alloc_map(mm, NULL, new_pmd, 0);
+ new_pte = pte_alloc_map(mm, new_pmd, 0);
if (!new_pte)
goto no_pte;