summaryrefslogtreecommitdiff
path: root/arch/powerpc64/bits/mman.h
diff options
context:
space:
mode:
authorVladimir Azarov <avm@intermediate-node.net>2024-10-01 15:47:05 +0200
committerVladimir Azarov <avm@intermediate-node.net>2024-10-01 15:47:05 +0200
commit4abab5ad6c8465a7528ccdd5f49367da05f78bbd (patch)
treeebf009bf1376a5a223a915bc27cbbd791a1316bc /arch/powerpc64/bits/mman.h
Initial version
Diffstat (limited to 'arch/powerpc64/bits/mman.h')
-rw-r--r--arch/powerpc64/bits/mman.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/powerpc64/bits/mman.h b/arch/powerpc64/bits/mman.h
new file mode 100644
index 0000000..95ec435
--- /dev/null
+++ b/arch/powerpc64/bits/mman.h
@@ -0,0 +1,13 @@
+#define PROT_SAO 0x10
+
+#undef MAP_NORESERVE
+#define MAP_NORESERVE 0x40
+#undef MAP_LOCKED
+#define MAP_LOCKED 0x80
+
+#undef MCL_CURRENT
+#define MCL_CURRENT 0x2000
+#undef MCL_FUTURE
+#define MCL_FUTURE 0x4000
+#undef MCL_ONFAULT
+#define MCL_ONFAULT 0x8000