mm: introduce MAP_FIXED_NOREPLACE
[sfrench/cifs-2.6.git] / arch / xtensa / include / uapi / asm / mman.h
index 3e9d01ada81ffbb98fa58164212a947611988aef..58f29a9d895d83e98c12020bf501b9f3d063eaec 100644 (file)
@@ -57,6 +57,7 @@
 #define MAP_NONBLOCK   0x20000         /* do not block on IO */
 #define MAP_STACK      0x40000         /* give out an address that is best suited for process/thread stacks */
 #define MAP_HUGETLB    0x80000         /* create a huge page mapping */
+#define MAP_FIXED_NOREPLACE 0x100000   /* MAP_FIXED which doesn't unmap underlying mapping */
 #ifdef CONFIG_MMAP_ALLOW_UNINITIALIZED
 # define MAP_UNINITIALIZED 0x4000000   /* For anonymous mmap, memory could be
                                         * uninitialized */