]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbd33fe92b454c7d0c7e84828cd0dce84000b01a3
tree62ef4b98d68c241e4be99381b8f4b45a12867199
parent349ae70ae175693e5bdfece7fda6a03122ed906f
powerpc/mm: Make slice specific to book3s/64

Since commit 7b0ede696b53 ("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 [new file with mode: 0644]
arch/powerpc/mm/nohash/mmu_context.c
arch/powerpc/mm/nohash/tlb.c
arch/powerpc/mm/slice.c [deleted file]