Re: [PATCH v1 4/4] powerpc/mm: Move nohash specifics in subdirectory mm/nohash

From: Michael Ellerman
Date: Thu May 02 2019 - 07:38:58 EST


Christophe Leroy <christophe.leroy@xxxxxx> writes:

> Many files in arch/powerpc/mm are only for nohash. This patch
> creates a subdirectory for them.
>
> Signed-off-by: Christophe Leroy <christophe.leroy@xxxxxx>
> ---
> arch/powerpc/mm/Makefile | 17 +----------------
> arch/powerpc/mm/{ => nohash}/40x_mmu.c | 0
> arch/powerpc/mm/{ => nohash}/44x_mmu.c | 0
> arch/powerpc/mm/{ => nohash}/8xx_mmu.c | 0
> arch/powerpc/mm/nohash/Makefile | 21 +++++++++++++++++++++
> arch/powerpc/mm/{ => nohash}/fsl_booke_mmu.c | 0
> arch/powerpc/mm/{ => nohash}/hugetlbpage-book3e.c | 0
> arch/powerpc/mm/{ => nohash}/mmu_context_nohash.c | 0
> arch/powerpc/mm/{ => nohash}/pgtable-book3e.c | 0
> arch/powerpc/mm/{ => nohash}/tlb_low_64e.S | 0
> arch/powerpc/mm/{ => nohash}/tlb_nohash.c | 0
> arch/powerpc/mm/{ => nohash}/tlb_nohash_low.S | 0
> 12 files changed, 22 insertions(+), 16 deletions(-)
> rename arch/powerpc/mm/{ => nohash}/40x_mmu.c (100%)
> rename arch/powerpc/mm/{ => nohash}/44x_mmu.c (100%)
> rename arch/powerpc/mm/{ => nohash}/8xx_mmu.c (100%)
> create mode 100644 arch/powerpc/mm/nohash/Makefile
> rename arch/powerpc/mm/{ => nohash}/fsl_booke_mmu.c (100%)
> rename arch/powerpc/mm/{ => nohash}/hugetlbpage-book3e.c (100%)
> rename arch/powerpc/mm/{ => nohash}/mmu_context_nohash.c (100%)
> rename arch/powerpc/mm/{ => nohash}/pgtable-book3e.c (100%)
> rename arch/powerpc/mm/{ => nohash}/tlb_low_64e.S (100%)
> rename arch/powerpc/mm/{ => nohash}/tlb_nohash.c (100%)
> rename arch/powerpc/mm/{ => nohash}/tlb_nohash_low.S (100%)

I went with:

arch/powerpc/mm/{40x_mmu.c => nohash/40x.c}
arch/powerpc/mm/{44x_mmu.c => nohash/44x.c}
arch/powerpc/mm/{8xx_mmu.c => nohash/8xx.c}
arch/powerpc/mm/{hugetlbpage-book3e.c => nohash/book3e_hugetlbpage.c}
arch/powerpc/mm/{pgtable-book3e.c => nohash/book3e_pgtable.c}
arch/powerpc/mm/{fsl_booke_mmu.c => nohash/fsl_booke.c}
arch/powerpc/mm/{mmu_context_nohash.c => nohash/mmu_context.c}
arch/powerpc/mm/{tlb_nohash.c => nohash/tlb.c}
arch/powerpc/mm/{tlb_nohash_low.S => nohash/tlb_low.S}
arch/powerpc/mm/{ => nohash}/tlb_low_64e.S

cheers