]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm: Move hugetlb and THP related pmd accessors to pgtable.h
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Fri, 29 Apr 2016 13:25:55 +0000 (23:25 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 1 May 2016 08:32:56 +0000 (18:32 +1000)
commita6e00204aee538d8a6c605cd3e2a4de85fad0e1f
tree48df5fa3ca4c86671860334a26be2ce380b4f7f1
parentf0dd34851f915b794baee376a36f4b65eb6f48c7
powerpc/mm: Move hugetlb and THP related pmd accessors to pgtable.h

Here we create pgtable-64/4k.h and move pmd accessors that are common
between hash and radix there. We can't do much sharing with 4K Linux
page size because 4K Linux page size with hash config doesn't support
THP. So for now it is empty. In later patches we will add functions that
does conditional hash/radix accessors there.

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/64/hash-64k.h
arch/powerpc/include/asm/book3s/64/pgtable-4k.h [new file with mode: 0644]
arch/powerpc/include/asm/book3s/64/pgtable-64k.h [new file with mode: 0644]
arch/powerpc/include/asm/book3s/64/pgtable.h