Thread (57 messages) flat view 57 messages, 5 authors, 2015-09-30

Re: [PATCH 03/31] powerpc/mm: make a separate copy for book3s

From: Aneesh Kumar K.V <hidden>
Date: 2015-09-22 06:42:34

Scott Wood [off-list ref] writes:
On Mon, 2015-09-21 at 12:10 +0530, Aneesh Kumar K.V wrote:
quoted
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?
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help