diff options
author | Helge Deller <deller@gmx.de> | 2022-09-24 13:44:55 +0200 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2022-09-27 09:33:19 +0200 |
commit | d124853bd73057cd6a60c810413f1a416bd04d34 (patch) | |
tree | cf3d7a754210e56bdac14f32748706e0e43860f9 | |
parent | 38b870cc8c5e9d079649d8769c8f271f28953d24 (diff) | |
download | qemu-d124853bd73057cd6a60c810413f1a416bd04d34.zip qemu-d124853bd73057cd6a60c810413f1a416bd04d34.tar.gz qemu-d124853bd73057cd6a60c810413f1a416bd04d34.tar.bz2 |
linux-user: Fix TARGET_PROT_SEM for XTENSA
The xtensa platform has a value of 0x10 for PROT_SEM.
Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20220924114501.21767-2-deller@gmx.de>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
-rw-r--r-- | linux-user/syscall_defs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h index 85b0f33..1e3577b 100644 --- a/linux-user/syscall_defs.h +++ b/linux-user/syscall_defs.h @@ -1246,7 +1246,7 @@ struct target_winsize { #include "termbits.h" -#if defined(TARGET_MIPS) +#if defined(TARGET_MIPS) || defined(TARGET_XTENSA) #define TARGET_PROT_SEM 0x10 #else #define TARGET_PROT_SEM 0x08 |