powerpc/mm: Make slice specific to book3s/64
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Sat, 9 Apr 2022 17:17:30 +0000 (19:17 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 5 May 2022 12:11:57 +0000 (22:11 +1000)
commit1408fca0c198471a5cd089742b9d3f9739073483
tree62ef4b98d68c241e4be99381b8f4b45a12867199
parent93ea910295cae7ad69571ed1570e5b5ca54a2f9e
powerpc/mm: Make slice specific to book3s/64

Since commit 555904d07eef ("powerpc/8xx: MM_SLICE is not needed
anymore") only book3s/64 selects CONFIG_PPC_MM_SLICES.

Move slice.c into mm/book3s64/

Move necessary stuff in asm/book3s/64/slice.h and
remove asm/slice.h

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/4a0d74ef1966a5902b5fd4ac4b513a760a6d675a.1649523076.git.christophe.leroy@csgroup.eu
arch/powerpc/include/asm/book3s/64/mmu-hash.h
arch/powerpc/include/asm/book3s/64/slice.h
arch/powerpc/include/asm/page.h
arch/powerpc/include/asm/slice.h [deleted file]
arch/powerpc/mm/Makefile
arch/powerpc/mm/book3s64/Makefile
arch/powerpc/mm/book3s64/slice.c [moved from arch/powerpc/mm/slice.c with 99% similarity]
arch/powerpc/mm/nohash/mmu_context.c
arch/powerpc/mm/nohash/tlb.c