Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * include/asm-s390/mman.h |
| 3 | * |
| 4 | * S390 version |
| 5 | * |
| 6 | * Derived from "include/asm-i386/mman.h" |
| 7 | */ |
| 8 | |
| 9 | #ifndef __S390_MMAN_H__ |
| 10 | #define __S390_MMAN_H__ |
| 11 | |
Michael S. Tsirkin | 5f6164f | 2006-02-15 15:17:39 -0800 | [diff] [blame] | 12 | #include <asm-generic/mman.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | |
| 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 */ |
| 21 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 22 | #define MCL_CURRENT 1 /* lock all current mappings */ |
| 23 | #define MCL_FUTURE 2 /* lock all future mappings */ |
| 24 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 25 | #endif /* __S390_MMAN_H__ */ |