]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm: make gup_hugepte() static
authorChristophe Leroy <christophe.leroy@c-s.fr>
Fri, 26 Apr 2019 05:59:43 +0000 (05:59 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 2 May 2019 15:20:23 +0000 (01:20 +1000)
commitcc3cf278e5d635330060579b3de310835b2cb71f
treeae86bb7a5af2428555fde2a997e01359d6c204eb
parent28d5fa4bbecc9d1ccbef282310e6f2328a621881
powerpc/mm: make gup_hugepte() static

gup_huge_pd() is the only user of gup_hugepte() and it is
located in the same file. This patch moves gup_huge_pd()
after gup_hugepte() and makes gup_hugepte() static.

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