]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit00f358f3b3d9c92ec04608150f68c332d0e286e9
tree0a517187e60eaaa3ba55ceecbf65d8b7746622ca
parent27d4ad92b32f9703a83877a03840dabdefac92ab
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