]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm/hugetlb: Handle hugepage size supported by hash config
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Mon, 28 Nov 2016 06:16:59 +0000 (11:46 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 28 Nov 2016 11:34:48 +0000 (22:34 +1100)
commit17f37b8682aab3a5d639252c65c706429375f8eb
tree6ff24b659ca86dcf599dab9b26b5cc59a63e7286
parentd5ead3deb26ef774c08725c5c89c8f33e6e22db5
powerpc/mm/hugetlb: Handle hugepage size supported by hash config

W.r.t hash page table config, we support 16MB and 16GB as the hugepage
size. Update the hstate_get_psize to handle 16M and 16G.

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/hugetlb.h