powerpc/mm: move __find_linux_pte() out of hugetlbpage.c
authorChristophe Leroy <christophe.leroy@c-s.fr>
Fri, 26 Apr 2019 05:59:41 +0000 (05:59 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 2 May 2019 15:20:23 +0000 (01:20 +1000)
commit0caed4de502c7699b7faeaea0a93b39e4f19e11a
tree4426f6b4ebc7b629f963f3c540497a3cc6ca0b20
parent3dea7332ccac1f701a6f8cd4fe44faa9be2e6014
powerpc/mm: move __find_linux_pte() out of hugetlbpage.c

__find_linux_pte() is the only function in hugetlbpage.c
which is compiled in regardless on CONFIG_HUGETLBPAGE

This patch moves it in pgtable.c.

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