davinci: update davinci_all_defconfig for dm355, dm6467
[linux-ginger.git] / arch / s390 / include / asm / mman.h
blobda01432e8f447b057e0989980dbdfd4efb15cd04
1 /*
2 * include/asm-s390/mman.h
4 * S390 version
6 * Derived from "include/asm-i386/mman.h"
7 */
9 #ifndef __S390_MMAN_H__
10 #define __S390_MMAN_H__
12 #include <asm-generic/mman.h>
14 #define MAP_GROWSDOWN 0x0100 /* stack-like segment */
15 #define MAP_DENYWRITE 0x0800 /* ETXTBSY */
16 #define MAP_EXECUTABLE 0x1000 /* mark it as an executable */
17 #define MAP_LOCKED 0x2000 /* pages are locked */
18 #define MAP_NORESERVE 0x4000 /* don't check for reservations */
19 #define MAP_POPULATE 0x8000 /* populate (prefault) pagetables */
20 #define MAP_NONBLOCK 0x10000 /* do not block on IO */
22 #define MCL_CURRENT 1 /* lock all current mappings */
23 #define MCL_FUTURE 2 /* lock all future mappings */
25 #if defined(__KERNEL__) && !defined(__ASSEMBLY__) && defined(CONFIG_64BIT)
26 int s390_mmap_check(unsigned long addr, unsigned long len);
27 #define arch_mmap_check(addr,len,flags) s390_mmap_check(addr,len)
28 #endif
30 #endif /* __S390_MMAN_H__ */