Message ID | 20220924114501.21767-2-deller@gmx.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | linux-user fixes for hppa target - part 2 | expand |
Le 24/09/2022 à 13:44, Helge Deller a écrit : > The xtensa platform has a value of 0x10 for PROT_SEM. > > Signed-off-by: Helge Deller <deller@gmx.de> > --- > linux-user/syscall_defs.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h > index 85b0f33e91..1e3577bfa5 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 > -- > 2.37.3 > > Reviewed-by: Laurent Vivier <laurent@vivier.eu>
diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h index 85b0f33e91..1e3577bfa5 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
The xtensa platform has a value of 0x10 for PROT_SEM. Signed-off-by: Helge Deller <deller@gmx.de> --- linux-user/syscall_defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.37.3