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 c572a28c76c9..a830a300aaa1 100644
--- a/arch/unicore32/mm/pgd.c
+++ b/arch/unicore32/mm/pgd.c
@@ -97,7 +97,7 @@ void free_pgd_slow(struct mm_struct *mm, pgd_t *pgd)
pte = pmd_pgtable(*pmd);
pmd_clear(pmd);
pte_free(mm, pte);
- atomic_long_dec(&mm->nr_ptes);
+ mm_dec_nr_ptes(mm);
pmd_free(mm, pmd);
mm_dec_nr_pmds(mm);
free: