]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita73dbb56a525bd5f53c367a8083b76788324bede
tree4ab45f2bc268c053790962520b179365c16d35c1
parent28ccd42c0c53c46be0e5fd89a1f458cc2247b699
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