Browse Source

Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/scottwood/linux into fixes

Michael Ellerman 10 years ago
parent
commit
1cbee462a5
1 changed files with 1 additions and 0 deletions
  1. 1 0
      arch/powerpc/mm/hugetlbpage.c

+ 1 - 0
arch/powerpc/mm/hugetlbpage.c

@@ -581,6 +581,7 @@ static void hugetlb_free_pmd_range(struct mmu_gather *tlb, pud_t *pud,
 	pmd = pmd_offset(pud, start);
 	pud_clear(pud);
 	pmd_free_tlb(tlb, pmd, start);
+	mm_dec_nr_pmds(tlb->mm);
 }
 
 static void hugetlb_free_pud_range(struct mmu_gather *tlb, pgd_t *pgd,