]> asedeno.scripts.mit.edu Git - linux.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)
commit2c9faa7675fec57f6ac0372688fae2e10fc4c272
treec1711749763e405e81427103dd240942ac858987
parentea6145557400b38faa6b3cee946ebceed8999872
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