[PATCH 03/31] powerpc/mm: make a separate copy for book3s
Scott Wood
scottwood at freescale.com
Tue Sep 22 07:58:43 AEST 2015
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?
Do the book3s/hash-specific parts of the copied file get removed from the non-
hash files at some point?
-Scott
More information about the Linuxppc-dev
mailing list