add futex wake op
authorRiku Voipio <riku.voipio@nokia.com>
Thu, 28 May 2009 09:13:41 +0000 (12:13 +0300)
committerRiku Voipio <riku.voipio@nokia.com>
Thu, 28 May 2009 09:13:41 +0000 (12:13 +0300)
linux-user/syscall.c

index 3785e2d..9787ec1 100644 (file)
@@ -3981,6 +3981,8 @@ static int do_futex(target_ulong uaddr, int op, int val, target_ulong timeout,
                          pts, NULL, 0));
     case FUTEX_WAKE:
         return get_errno(sys_futex(g2h(uaddr), op, val, NULL, NULL, 0));
+    case FUTEX_WAKE_OP:
+        return get_errno(sys_futex(g2h(uaddr), op, val, NULL, g2h(uaddr2), val3 ));
     case FUTEX_FD:
         return get_errno(sys_futex(g2h(uaddr), op, val, NULL, NULL, 0));
     case FUTEX_REQUEUE: