diff options
Diffstat (limited to 'arch/arm/mm/mm-armv.c')
-rw-r--r-- | arch/arm/mm/mm-armv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mm/mm-armv.c b/arch/arm/mm/mm-armv.c index 95273de4f772..931be1798122 100644 --- a/arch/arm/mm/mm-armv.c +++ b/arch/arm/mm/mm-armv.c | |||
@@ -227,7 +227,7 @@ void free_pgd_slow(pgd_t *pgd) | |||
227 | 227 | ||
228 | pte = pmd_page(*pmd); | 228 | pte = pmd_page(*pmd); |
229 | pmd_clear(pmd); | 229 | pmd_clear(pmd); |
230 | dec_page_state(nr_page_table_pages); | 230 | dec_zone_page_state(virt_to_page((unsigned long *)pgd), NR_PAGETABLE); |
231 | pte_lock_deinit(pte); | 231 | pte_lock_deinit(pte); |
232 | pte_free(pte); | 232 | pte_free(pte); |
233 | pmd_free(pmd); | 233 | pmd_free(pmd); |