summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2015-04-17 11:22:51 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2015-04-17 11:22:51 +1000
commit1cbee462a5afc1cc30389915b3d18bdcb3c47ad6 (patch)
treeb1e2b5836e52788c356c21efe716f6faa694c823 /arch/powerpc
parentd19d5efd8c8840aa4f38a6dfbfe500d8cc27de46 (diff)
parent50c6a665b383cb5839e45d04e36faeeefaffa052 (diff)
downloadlinux-1cbee462a5afc1cc30389915b3d18bdcb3c47ad6.tar.bz2
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/scottwood/linux into fixes
Diffstat (limited to 'arch/powerpc')
-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,