]> git.karo-electronics.de Git - linux-beck.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)
commita9252aaefe7e72133e7a37e0eff4e950a4f33af1
tree48df5fa3ca4c86671860334a26be2ce380b4f7f1
parentac94ac79dc0fc473aebcbe2ba4c26a5341b866be
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