diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mm.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h index b46461116cd2..f7606d3a0915 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h | |||
| @@ -128,6 +128,7 @@ extern unsigned int kobjsize(const void *objp); | |||
| 128 | #define VM_HUGETLB 0x00400000 /* Huge TLB Page VM */ | 128 | #define VM_HUGETLB 0x00400000 /* Huge TLB Page VM */ |
| 129 | #define VM_NONLINEAR 0x00800000 /* Is non-linear (remap_file_pages) */ | 129 | #define VM_NONLINEAR 0x00800000 /* Is non-linear (remap_file_pages) */ |
| 130 | #define VM_ARCH_1 0x01000000 /* Architecture-specific flag */ | 130 | #define VM_ARCH_1 0x01000000 /* Architecture-specific flag */ |
| 131 | #define VM_ARCH_2 0x02000000 | ||
| 131 | #define VM_DONTDUMP 0x04000000 /* Do not include in the core dump */ | 132 | #define VM_DONTDUMP 0x04000000 /* Do not include in the core dump */ |
| 132 | 133 | ||
| 133 | #ifdef CONFIG_MEM_SOFT_DIRTY | 134 | #ifdef CONFIG_MEM_SOFT_DIRTY |
| @@ -155,6 +156,11 @@ extern unsigned int kobjsize(const void *objp); | |||
| 155 | # define VM_MAPPED_COPY VM_ARCH_1 /* T if mapped copy of data (nommu mmap) */ | 156 | # define VM_MAPPED_COPY VM_ARCH_1 /* T if mapped copy of data (nommu mmap) */ |
| 156 | #endif | 157 | #endif |
| 157 | 158 | ||
| 159 | #if defined(CONFIG_X86) | ||
| 160 | /* MPX specific bounds table or bounds directory */ | ||
| 161 | # define VM_MPX VM_ARCH_2 | ||
| 162 | #endif | ||
| 163 | |||
| 158 | #ifndef VM_GROWSUP | 164 | #ifndef VM_GROWSUP |
| 159 | # define VM_GROWSUP VM_NONE | 165 | # define VM_GROWSUP VM_NONE |
| 160 | #endif | 166 | #endif |
