aboutsummaryrefslogtreecommitdiff
path: root/linux-user
diff options
context:
space:
mode:
authorRiku Voipio <riku.voipio@iki.fi>2009-05-28 12:13:41 +0300
committerRiku Voipio <riku.voipio@nokia.com>2009-06-16 16:56:29 +0300
commitc4d2302e7adf0da341359910c1b044f7b38511a8 (patch)
tree2ee802caa10b458194b4e3d67a81d90f72dbb06c /linux-user
parenta29ccd6382eb4c9df72cfd10e279d5f56448b0f4 (diff)
add futex wake op
Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/syscall.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 59c8558dc8..3fc6cbc7ca 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -3942,6 +3942,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: