diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-07-07 21:40:35 +0100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-07-15 08:02:32 +0100 |
commit | 6edfca9eae639707b85d04b050bc7ff09330e58b (patch) | |
tree | b9663c17acd1356a4e0a6b1b1876467ab7828b2f /linux-user/generic | |
parent | 492fe4e75461d016d77913d0b3f7356a433ee8a1 (diff) | |
download | qemu-6edfca9eae639707b85d04b050bc7ff09330e58b.zip qemu-6edfca9eae639707b85d04b050bc7ff09330e58b.tar.gz qemu-6edfca9eae639707b85d04b050bc7ff09330e58b.tar.bz2 |
linux-user: Split TARGET_PROT_* out of syscall_defs.h
Move the values into the per-target target_mman.h headers
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230707204054.8792-8-richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/generic')
-rw-r--r-- | linux-user/generic/target_mman.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/linux-user/generic/target_mman.h b/linux-user/generic/target_mman.h index 7b888fb..ec76a91 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 |