From: Christoph Lameter Signed-off-by: Andrew Morton --- arch/um/kernel/skas/mmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN arch/um/kernel/skas/mmu.c~light-weight-counters-framework-uml-fix arch/um/kernel/skas/mmu.c --- devel/arch/um/kernel/skas/mmu.c~light-weight-counters-framework-uml-fix 2006-06-09 18:19:50.000000000 -0700 +++ devel-akpm/arch/um/kernel/skas/mmu.c 2006-06-09 18:19:50.000000000 -0700 @@ -152,7 +152,7 @@ void destroy_context_skas(struct mm_stru free_page(mmu->id.stack); pte_lock_deinit(virt_to_page(mmu->last_page_table)); pte_free_kernel((pte_t *) mmu->last_page_table); - dec_page_state(nr_page_table_pages); + dec_zone_page_state(virt_to_page(mmu->last_page_table), NR_PAGETABLE); #ifdef CONFIG_3_LEVEL_PGTABLES pmd_free((pmd_t *) mmu->last_pmd); #endif _