aboutsummaryrefslogtreecommitdiff
path: root/linux-user/generic/target_mman.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/generic/target_mman.h')
-rw-r--r--linux-user/generic/target_mman.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/linux-user/generic/target_mman.h b/linux-user/generic/target_mman.h
index 7b888fb7f8..ec76a91b46 100644
--- a/linux-user/generic/target_mman.h
+++ b/linux-user/generic/target_mman.h
@@ -23,7 +23,11 @@
#define TARGET_MAP_NORESERVE 0x4000
#endif
-/* Other MAP flags are defined in asm-generic/mman-common.h */
+/* Defined in asm-generic/mman-common.h */
+#ifndef TARGET_PROT_SEM
+#define TARGET_PROT_SEM 0x08
+#endif
+
#ifndef TARGET_MAP_TYPE
#define TARGET_MAP_TYPE 0x0f
#endif