Re: [PATCH 03/31] powerpc/mm: make a separate copy for book3s
flat view
From: Scott Wood <hidden>
Date: 2015-09-21 21:58:59
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 <redacted> --- 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