]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/hugetlb: Add ABI defines for supported HugeTLB page sizes
authorAnshuman Khandual <khandual@linux.vnet.ibm.com>
Fri, 7 Apr 2017 03:55:39 +0000 (09:25 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 10 Apr 2017 21:46:06 +0000 (07:46 +1000)
commitf4b34298698fa27fde7610c6dfe6439403a6efc2
treec1711749763e405e81427103dd240942ac858987
parenta11a7f0f7f9554bf266873a90072326f74e18e04
powerpc/hugetlb: Add ABI defines for supported HugeTLB page sizes

Add user space exported API definitions for 512KB, 1MB, 2MB, 8MB, 16MB,
1GB, 16GB non default huge page sizes to be used with mmap() system
call.

Signed-off-by: Anshuman Khandual <khandual@linux.vnet.ibm.com>
[mpe: Reword the comment to emphasise that these are only needed to use
 the non-default huge page size, and updated the change log.]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/uapi/asm/mman.h