diff options
Diffstat (limited to 'arch/powerpc/include/uapi/asm/mman.h')
-rw-r--r-- | arch/powerpc/include/uapi/asm/mman.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/powerpc/include/uapi/asm/mman.h b/arch/powerpc/include/uapi/asm/mman.h index 65065ce32814..c0c737215b00 100644 --- a/arch/powerpc/include/uapi/asm/mman.h +++ b/arch/powerpc/include/uapi/asm/mman.h | |||
@@ -21,15 +21,11 @@ | |||
21 | #define MAP_DENYWRITE 0x0800 /* ETXTBSY */ | 21 | #define MAP_DENYWRITE 0x0800 /* ETXTBSY */ |
22 | #define MAP_EXECUTABLE 0x1000 /* mark it as an executable */ | 22 | #define MAP_EXECUTABLE 0x1000 /* mark it as an executable */ |
23 | 23 | ||
24 | |||
24 | #define MCL_CURRENT 0x2000 /* lock all currently mapped pages */ | 25 | #define MCL_CURRENT 0x2000 /* lock all currently mapped pages */ |
25 | #define MCL_FUTURE 0x4000 /* lock all additions to address space */ | 26 | #define MCL_FUTURE 0x4000 /* lock all additions to address space */ |
26 | #define MCL_ONFAULT 0x8000 /* lock all pages that are faulted in */ | 27 | #define MCL_ONFAULT 0x8000 /* lock all pages that are faulted in */ |
27 | 28 | ||
28 | #define MAP_POPULATE 0x8000 /* populate (prefault) pagetables */ | ||
29 | #define MAP_NONBLOCK 0x10000 /* do not block on IO */ | ||
30 | #define MAP_STACK 0x20000 /* give out an address that is best suited for process/thread stacks */ | ||
31 | #define MAP_HUGETLB 0x40000 /* create a huge page mapping */ | ||
32 | |||
33 | /* Override any generic PKEY permission defines */ | 29 | /* Override any generic PKEY permission defines */ |
34 | #define PKEY_DISABLE_EXECUTE 0x4 | 30 | #define PKEY_DISABLE_EXECUTE 0x4 |
35 | #undef PKEY_ACCESS_MASK | 31 | #undef PKEY_ACCESS_MASK |