aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mm/pgd.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mm/pgd.c')
-rw-r--r--arch/arm/mm/pgd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mm/pgd.c b/arch/arm/mm/pgd.c
index be5f58e153bf..69bbfc6645a6 100644
--- a/arch/arm/mm/pgd.c
+++ b/arch/arm/mm/pgd.c
@@ -57,9 +57,9 @@ pgd_t *get_pgd_slow(struct mm_struct *mm)
57 goto no_pte; 57 goto no_pte;
58 58
59 init_pmd = pmd_offset(init_pgd, 0); 59 init_pmd = pmd_offset(init_pgd, 0);
60 init_pte = pte_offset_map_nested(init_pmd, 0); 60 init_pte = pte_offset_map(init_pmd, 0);
61 set_pte_ext(new_pte, *init_pte, 0); 61 set_pte_ext(new_pte, *init_pte, 0);
62 pte_unmap_nested(init_pte); 62 pte_unmap(init_pte);
63 pte_unmap(new_pte); 63 pte_unmap(new_pte);
64 } 64 }
65 65