summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--arch/nt32/bits/mman.h4
-rw-r--r--arch/nt64/bits/mman.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/nt32/bits/mman.h b/arch/nt32/bits/mman.h
index 846b7ea..ae855a5 100644
--- a/arch/nt32/bits/mman.h
+++ b/arch/nt32/bits/mman.h
@@ -11,8 +11,8 @@
#define MAP_PRIVATE 0x02
#define MAP_FIXED 0x10
+#define MAP_FILE 0
#define MAP_TYPE 0x0f
-#define MAP_FILE 0x00
#define MAP_ANON 0x20
#define MAP_ANONYMOUS MAP_ANON
#define MAP_32BIT 0x40
@@ -30,7 +30,7 @@
#define POSIX_MADV_RANDOM 1
#define POSIX_MADV_SEQUENTIAL 2
#define POSIX_MADV_WILLNEED 3
-#define POSIX_MADV_DONTNEED 0
+#define POSIX_MADV_DONTNEED 4
#define MS_ASYNC 1
#define MS_INVALIDATE 2
diff --git a/arch/nt64/bits/mman.h b/arch/nt64/bits/mman.h
index 846b7ea..ae855a5 100644
--- a/arch/nt64/bits/mman.h
+++ b/arch/nt64/bits/mman.h
@@ -11,8 +11,8 @@
#define MAP_PRIVATE 0x02
#define MAP_FIXED 0x10
+#define MAP_FILE 0
#define MAP_TYPE 0x0f
-#define MAP_FILE 0x00
#define MAP_ANON 0x20
#define MAP_ANONYMOUS MAP_ANON
#define MAP_32BIT 0x40
@@ -30,7 +30,7 @@
#define POSIX_MADV_RANDOM 1
#define POSIX_MADV_SEQUENTIAL 2
#define POSIX_MADV_WILLNEED 3
-#define POSIX_MADV_DONTNEED 0
+#define POSIX_MADV_DONTNEED 4
#define MS_ASYNC 1
#define MS_INVALIDATE 2