summaryrefslogtreecommitdiff
path: root/arch/powerpc/mm/hugetlbpage.c
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2015-04-17 04:22:51 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2015-04-17 04:22:51 +0300
commit1cbee462a5afc1cc30389915b3d18bdcb3c47ad6 (patch)
treeb1e2b5836e52788c356c21efe716f6faa694c823 /arch/powerpc/mm/hugetlbpage.c
parentd19d5efd8c8840aa4f38a6dfbfe500d8cc27de46 (diff)
parent50c6a665b383cb5839e45d04e36faeeefaffa052 (diff)
downloadlinux-1cbee462a5afc1cc30389915b3d18bdcb3c47ad6.tar.xz
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/scottwood/linux into fixes
Diffstat (limited to 'arch/powerpc/mm/hugetlbpage.c')
-rw-r--r--arch/powerpc/mm/hugetlbpage.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/mm/hugetlbpage.c b/arch/powerpc/mm/hugetlbpage.c
index fa9d5c238d22..2cb278a2f658 100644
--- a/arch/powerpc/mm/hugetlbpage.c
+++ b/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,