linux/arch/powerpc/include/uapi/asm
Mike Kravetz aafd4562df mm: arch: consolidate mmap hugetlb size encodings
A non-default huge page size can be encoded in the flags argument of the
mmap system call.  The definitions for these encodings are in arch
specific header files.  However, all architectures use the same values.

Consolidate all the definitions in the primary user header file
(uapi/linux/mman.h).  Include definitions for all known huge page sizes.
Use the generic encoding definitions in hugetlb_encode.h as the basis
for these definitions.

Link: http://lkml.kernel.org/r/1501527386-10736-3-git-send-email-mike.kravetz@oracle.com
Signed-off-by: Mike Kravetz <mike.kravetz@oracle.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Cc: Anshuman Khandual <khandual@linux.vnet.ibm.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Davidlohr Bueso <dbueso@suse.de>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Michael Kerrisk <mtk.manpages@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-09-06 17:27:28 -07:00
..
Kbuild powerpc: Use uapi/asm-generic/sockios.h 2017-05-30 14:59:51 +10:00
auxvec.h powerpc: Add new cache geometry aux vectors 2017-02-06 19:46:04 +11:00
bitsperlong.h
bootx.h
byteorder.h
cputable.h powerpc: Add PPC_FEATURE userspace bits for SCV and DARN instructions 2017-05-25 23:07:45 +10:00
eeh.h
elf.h powerpc: Move ARCH_DLINFO out of uapi 2017-02-06 19:46:04 +11:00
epapr_hcalls.h
errno.h
fcntl.h
ioctl.h
ioctls.h tty: Fix TIOCGPTPEER ioctl definition 2017-07-17 17:04:41 +02:00
ipcbuf.h
kvm.h KVM: PPC: Book3S HV: Exit guest upon MCE when FWNMI capability is enabled 2017-06-22 11:24:57 +10:00
kvm_para.h
mman.h mm: arch: consolidate mmap hugetlb size encodings 2017-09-06 17:27:28 -07:00
msgbuf.h
nvram.h
opal-prd.h
perf_event.h
perf_regs.h powerpc/perf: Assign an id to each powerpc register 2016-04-21 23:32:59 +10:00
posix_types.h
ps3fb.h
ptrace.h
sembuf.h
setup.h
shmbuf.h
sigcontext.h
siginfo.h
signal.h
socket.h powerpc: use asm-generic/socket.h as much as possible 2017-06-01 14:48:05 -04:00
spu_info.h
stat.h
swab.h
termbits.h
termios.h
tm.h
types.h
ucontext.h
unistd.h powerpc: Wire up statx() syscall 2017-03-16 20:45:53 +11:00