powerpc/mm: replace hugetlb_cache by PGT_CACHE(PTE_T_ORDER)
authorChristophe Leroy <christophe.leroy@c-s.fr>
Thu, 29 Nov 2018 14:07:05 +0000 (14:07 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 4 Dec 2018 08:45:01 +0000 (19:45 +1100)
commit0356656284ca750f882b7eb81b9612bdbc90b2c4
tree4ab45f2bc268c053790962520b179365c16d35c1
parent129dd323ddb808ee2fbd9f2a89d97d2cc7959790
powerpc/mm: replace hugetlb_cache by PGT_CACHE(PTE_T_ORDER)

Instead of opencoding cache handling for the special case
of hugepage tables having a single pte_t element, this
patch makes use of the common pgtable_cache helpers

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/hugetlb.h
arch/powerpc/mm/hugetlbpage.c