]> 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)
commit61ef278f1db1a0b222b03ff0f459f424579ed91c
tree4ab45f2bc268c053790962520b179365c16d35c1
parentcc05572f06581c76729b60cd5e5c0d1cc7458f04
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