powerpc/mm: Make a copy of pgalloc.h for 32 and 64 book3s
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Fri, 29 Apr 2016 13:26:13 +0000 (23:26 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 11 May 2016 11:53:48 +0000 (21:53 +1000)
commit101ad5c65ef2631f402643c760574a6f0f7f64d0
tree7415fc539f68f49c83dbf3888a4508d48b2ee22f
parentb5dcc6096971b7c11b443b79ae8b69ccb01ec04e
powerpc/mm: Make a copy of pgalloc.h for 32 and 64 book3s

This patch start to make a book3s variant for pgalloc headers. We have
multiple book3s specific changes such as:
  * 4 level page table
  * store physical address in higher level table
  * use pte_t * for pgtable_t

Having a book3s64 specific variant helps to keep code simpler and remove
lots of #ifdef around code.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/book3s/32/pgalloc.h [new file with mode: 0644]
arch/powerpc/include/asm/book3s/64/pgalloc.h [new file with mode: 0644]