mm/mmap: move common defines to mman-common.h
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Tue, 16 Jul 2019 23:30:41 +0000 (16:30 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Jul 2019 02:23:25 +0000 (19:23 -0700)
commit8aa3c927ec10d1230c3ace8357f624479665f701
tree0a517187e60eaaa3ba55ceecbf65d8b7746622ca
parent22fcea6f85f2cc74e61bd8b3640faa8467553c24
mm/mmap: move common defines to mman-common.h

Two architecture that use arch specific MMAP flags are powerpc and
sparc.  We still have few flag values common across them and other
architectures.  Consolidate this in mman-common.h.

Also update the comment to indicate where to find HugeTLB specific
reserved values

Link: http://lkml.kernel.org/r/20190604090950.31417-1-aneesh.kumar@linux.ibm.com
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/powerpc/include/uapi/asm/mman.h
arch/sparc/include/uapi/asm/mman.h
include/uapi/asm-generic/mman-common.h
include/uapi/asm-generic/mman.h