Wang Nan | f3539c1 | 2016-09-12 12:54:29 +0000 | [diff] [blame] | 1 | #ifndef TOOLS_ARCH_TILE_UAPI_ASM_MMAN_FIX_H |
| 2 | #define TOOLS_ARCH_TILE_UAPI_ASM_MMAN_FIX_H |
| 3 | #define MAP_DENYWRITE 0x0800 |
| 4 | #define MAP_EXECUTABLE 0x1000 |
| 5 | #define MAP_GROWSDOWN 0x0100 |
| 6 | #define MAP_HUGETLB 0x4000 |
| 7 | #define MAP_LOCKED 0x0200 |
| 8 | #define MAP_NONBLOCK 0x0080 |
| 9 | #define MAP_NORESERVE 0x0400 |
| 10 | #define MAP_POPULATE 0x0040 |
| 11 | #define MAP_STACK MAP_GROWSDOWN |
| 12 | #include <uapi/asm-generic/mman-common.h> |
Wang Nan | f82b774 | 2016-09-14 10:57:29 +0000 | [diff] [blame] | 13 | /* MAP_32BIT is undefined on tile, fix it for perf */ |
| 14 | #define MAP_32BIT 0 |
Wang Nan | f3539c1 | 2016-09-12 12:54:29 +0000 | [diff] [blame] | 15 | #endif |