]> 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)
commit6fc9edea3ab6f5e23d1ee03581e902391e048462
treec1711749763e405e81427103dd240942ac858987
parent4b2f9642a04055f1962fd7fb2ea7622b82012ce8
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