Commit c4d2302e7adf0da341359910c1b044f7b38511a8

Authored by Riku Voipio
Committed by Riku Voipio
1 parent a29ccd63

add futex wake op

Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
Showing 1 changed file with 2 additions and 0 deletions
linux-user/syscall.c
... ... @@ -3942,6 +3942,8 @@ static int do_futex(target_ulong uaddr, int op, int val, target_ulong timeout,
3942 3942 pts, NULL, 0));
3943 3943 case FUTEX_WAKE:
3944 3944 return get_errno(sys_futex(g2h(uaddr), op, val, NULL, NULL, 0));
  3945 + case FUTEX_WAKE_OP:
  3946 + return get_errno(sys_futex(g2h(uaddr), op, val, NULL, g2h(uaddr2), val3 ));
3945 3947 case FUTEX_FD:
3946 3948 return get_errno(sys_futex(g2h(uaddr), op, val, NULL, NULL, 0));
3947 3949 case FUTEX_REQUEUE:
... ...