]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm: Move vma_mmu_pagesize()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Sat, 9 Apr 2022 17:17:29 +0000 (19:17 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 5 May 2022 12:11:57 +0000 (22:11 +1000)
commit69084733de37ab463716cef330571a965212b2ab
tree363682cc5638ac43333e9c716e41b12dce42b7cf
parentd46f7484116a40b8d9773f79f979c18215f08fd5
powerpc/mm: Move vma_mmu_pagesize()

vma_mmu_pagesize() is only required for slices,
otherwise there is a generic weak version doing the
exact same thing.

Move it to slice.c

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1302e000d529c93d07208f1fae90f938e7a551b4.1649523076.git.christophe.leroy@csgroup.eu
arch/powerpc/mm/hugetlbpage.c
arch/powerpc/mm/slice.c