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>
Showing
- arch/powerpc/include/uapi/asm/mman.h 1 addition, 5 deletionsarch/powerpc/include/uapi/asm/mman.h
- arch/sparc/include/uapi/asm/mman.h 0 additions, 6 deletionsarch/sparc/include/uapi/asm/mman.h
- include/uapi/asm-generic/mman-common.h 5 additions, 1 deletioninclude/uapi/asm-generic/mman-common.h
- include/uapi/asm-generic/mman.h 4 additions, 5 deletionsinclude/uapi/asm-generic/mman.h
Loading
Please register or sign in to comment