]> git.proxmox.com Git - qemu.git/commit - linux-user/syscall.c
linux-user/syscall.c: handle FUTEX_WAIT_BITSET in do_futex
authorJohn Rigby <john.rigby@linaro.org>
Sat, 23 Feb 2013 23:14:07 +0000 (16:14 -0700)
committerRiku Voipio <riku.voipio@linaro.org>
Mon, 11 Mar 2013 11:04:56 +0000 (13:04 +0200)
commitcce246e0a21577bb2372ab3a7d6789371e087de9
treeef17a6edbff49c6c5119a9139dd2ec7e45511b49
parentd95ec14fd20ff69881ab26e7ebd1dab4eb851d97
linux-user/syscall.c: handle FUTEX_WAIT_BITSET in do_futex

Upstream libc has recently changed to start using
FUTEX_WAIT_BITSET instead of FUTEX_WAIT and this
is causing do_futex to return -TARGET_ENOSYS.

Pass bitset in val3 to sys_futex which will be
ignored by kernel for the FUTEX_WAIT case.

Signed-off-by: John Rigby <john.rigby@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/syscall.c