Re: [PATCH v2 rebased 1/9] powerpc/mm: Make slice specific to book3s/64

From: Nicholas Piggin
Date: Wed Dec 01 2021 - 00:33:38 EST


Excerpts from Christophe Leroy's message of November 26, 2021 3:52 am:
> 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/
>
> Signed-off-by: Christophe Leroy <christophe.leroy@xxxxxxxxxx>

Reviewed-by: Nicholas Piggin <npiggin@xxxxxxxxx>

> ---
> v2: Remove now unnecessary #ifdef CONFIG_PPC_BOOK3S_64 in slice.c
> ---
> arch/powerpc/mm/Makefile | 1 -
> arch/powerpc/mm/book3s64/Makefile | 1 +
> arch/powerpc/mm/{ => book3s64}/slice.c | 2 --
> arch/powerpc/mm/nohash/mmu_context.c | 9 ---------
> arch/powerpc/mm/nohash/tlb.c | 4 ----
> 5 files changed, 1 insertion(+), 16 deletions(-)
> rename arch/powerpc/mm/{ => book3s64}/slice.c (99%)
>