diff mbox series

[3/8] linux-user: Implement FUTEX_WAKE_BITSET

Message ID 20220829021006.67305-4-richard.henderson@linaro.org
State New
Headers show
Series linux-user: Futex improvements | expand

Commit Message

Richard Henderson Aug. 29, 2022, 2:10 a.m. UTC
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
 linux-user/syscall.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Laurent Vivier Sept. 27, 2022, 9:54 a.m. UTC | #1
Le 29/08/2022 à 04:10, Richard Henderson a écrit :
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
>   linux-user/syscall.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/linux-user/syscall.c b/linux-user/syscall.c
> index 8fbd5a9556..8bf4b79a9e 100644
> --- a/linux-user/syscall.c
> +++ b/linux-user/syscall.c
> @@ -7774,6 +7774,7 @@ static int do_futex(CPUState *cpu, bool time64, target_ulong uaddr,
>           val = tswap32(val);
>           break;
>       case FUTEX_WAKE:
> +    case FUTEX_WAKE_BITSET:
>           timeout = 0;
>           break;
>       case FUTEX_FD:

Reviewed-by: Laurent Vivier <laurent@vivier.eu>
diff mbox series

Patch

diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 8fbd5a9556..8bf4b79a9e 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -7774,6 +7774,7 @@  static int do_futex(CPUState *cpu, bool time64, target_ulong uaddr,
         val = tswap32(val);
         break;
     case FUTEX_WAKE:
+    case FUTEX_WAKE_BITSET:
         timeout = 0;
         break;
     case FUTEX_FD: