Index: linux-2.6.17-rc6-mm1/arch/arm/mm/mm-armv.c =================================================================== --- linux-2.6.17-rc6-mm1.orig/arch/arm/mm/mm-armv.c 2006-06-05 17:57:02.000000000 -0700 +++ linux-2.6.17-rc6-mm1/arch/arm/mm/mm-armv.c 2006-06-09 17:57:14.029466622 -0700 @@ -227,7 +227,7 @@ void free_pgd_slow(pgd_t *pgd) pte = pmd_page(*pmd); pmd_clear(pmd); - dec_page_state(nr_page_table_pages); + dec_zone_page_state(virt_to_page((unsigned long *)pgd), NR_PAGETABLE); pte_lock_deinit(pte); pte_free(pte); pmd_free(pmd);