summaryrefslogtreecommitdiff
path: root/linux/arch/x86/include/uapi/asm/mman.h
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2016-04-25 10:00:44 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2016-04-25 10:00:44 -0400
commita1df417e74aa6dae7352dc8cbb0ad471af5b7c69 (patch)
treec34b2311e37ea31db153c90cb8f4570374d05e78 /linux/arch/x86/include/uapi/asm/mman.h
initial Olimex linux tree from Daniel, originally Feb 3, 2016
Diffstat (limited to 'linux/arch/x86/include/uapi/asm/mman.h')
-rw-r--r--linux/arch/x86/include/uapi/asm/mman.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/linux/arch/x86/include/uapi/asm/mman.h b/linux/arch/x86/include/uapi/asm/mman.h
new file mode 100644
index 00000000..513b05f1
--- /dev/null
+++ b/linux/arch/x86/include/uapi/asm/mman.h
@@ -0,0 +1,11 @@
+#ifndef _ASM_X86_MMAN_H
+#define _ASM_X86_MMAN_H
+
+#define MAP_32BIT 0x40 /* only give out 32bit addresses */
+
+#define MAP_HUGE_2MB (21 << MAP_HUGE_SHIFT)
+#define MAP_HUGE_1GB (30 << MAP_HUGE_SHIFT)
+
+#include <asm-generic/mman.h>
+
+#endif /* _ASM_X86_MMAN_H */