[PATCH 03/31] powerpc/mm: make a separate copy for book3s
Aneesh Kumar K.V
aneesh.kumar at linux.vnet.ibm.com
Tue Sep 22 16:42:14 AEST 2015
Scott Wood <scottwood at freescale.com> writes:
> On Mon, 2015-09-21 at 12:10 +0530, Aneesh Kumar K.V wrote:
>> In this patch we do:
>> cp pgtable-ppc32.h book3s/32/pgtable.h
>> cp pgtable-ppc64.h book3s/64/pgtable.h
>>
>> This enable us to do further changes to hash specific config.
>> We will change the page table format for 64bit hash in later patches.
>>
>> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar at linux.vnet.ibm.com>
>> ---
>> arch/powerpc/include/asm/book3s/32/pgtable.h | 340 +++++++++++++++
>> arch/powerpc/include/asm/book3s/64/pgtable.h | 618
>> +++++++++++++++++++++++++++
>> arch/powerpc/include/asm/book3s/pgtable.h | 10 +
>> arch/powerpc/include/asm/mmu-hash64.h | 2 +-
>> arch/powerpc/include/asm/pgtable-ppc32.h | 2 -
>> arch/powerpc/include/asm/pgtable-ppc64.h | 4 -
>> arch/powerpc/include/asm/pgtable.h | 4 +
>> 7 files changed, 973 insertions(+), 7 deletions(-)
>> create mode 100644 arch/powerpc/include/asm/book3s/32/pgtable.h
>> create mode 100644 arch/powerpc/include/asm/book3s/64/pgtable.h
>> create mode 100644 arch/powerpc/include/asm/book3s/pgtable.h
>
> git format-patch -C?
Thanks for the hint. Will use that next time.
>
> Do the book3s/hash-specific parts of the copied file get removed from the non-
> hash files at some point?
>
I tried to keep the changes to non-hash code minimal. My guess is that
we could do more cleanup there. But that can be done as later patches ?
-aneesh
More information about the Linuxppc-dev
mailing list