]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbfaadd78b33849c487b1c32e512250cf02be7ce0
tree7415fc539f68f49c83dbf3888a4508d48b2ee22f
parent258b312a7b1407cb49bbe4ec61ca5849d26d3155
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]