summaryrefslogtreecommitdiff
path: root/include/arch/x86_64/asm-generic/mman-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/arch/x86_64/asm-generic/mman-common.h')
-rw-r--r--include/arch/x86_64/asm-generic/mman-common.h24
1 files changed, 11 insertions, 13 deletions
diff --git a/include/arch/x86_64/asm-generic/mman-common.h b/include/arch/x86_64/asm-generic/mman-common.h
index cbcba366..f571d971 100644
--- a/include/arch/x86_64/asm-generic/mman-common.h
+++ b/include/arch/x86_64/asm-generic/mman-common.h
@@ -14,11 +14,10 @@
/* 0x10 reserved for arch-specific use */
/* 0x20 reserved for arch-specific use */
#define PROT_NONE 0x0 /* page can not be accessed */
-#define PROT_GROWSDOWN \
- 0x01000000 /* mprotect flag: extend change to start of growsdown vma \
- */
-#define PROT_GROWSUP \
- 0x02000000 /* mprotect flag: extend change to end of growsup vma */
+#define PROT_GROWSDOWN \
+ 0x01000000 /* mprotect flag: extend change to start of growsdown vma \
+ */
+#define PROT_GROWSUP 0x02000000 /* mprotect flag: extend change to end of growsup vma */
/* 0x01 - 0x03 are defined in linux/mman.h */
#define MAP_TYPE 0x0f /* Mask for type of mapping */
@@ -28,15 +27,14 @@
/* 0x0100 - 0x4000 flags are defined in asm-generic/mman.h */
#define MAP_POPULATE 0x008000 /* populate (prefault) pagetables */
#define MAP_NONBLOCK 0x010000 /* do not block on IO */
-#define MAP_STACK \
- 0x020000 /* give out an address that is best suited for process/thread \
- stacks */
+#define MAP_STACK \
+ 0x020000 /* give out an address that is best suited for process/thread \
+ stacks */
#define MAP_HUGETLB 0x040000 /* create a huge page mapping */
-#define MAP_SYNC \
- 0x080000 /* perform synchronous page faults for the mapping \
- */
-#define MAP_FIXED_NOREPLACE \
- 0x100000 /* MAP_FIXED which doesn't unmap underlying mapping */
+#define MAP_SYNC \
+ 0x080000 /* perform synchronous page faults for the mapping \
+ */
+#define MAP_FIXED_NOREPLACE 0x100000 /* MAP_FIXED which doesn't unmap underlying mapping */
#define MAP_UNINITIALIZED \
0x4000000 /* For anonymous mmap, memory could be \