提交 5f2243f3 编写于 作者: P Paul Brook

Fix strace or FUTEX_PRIVATE_FLAG

FUTEX_PRIVATE_FLAG is a bit orred with an existing futex op,
not a distinct value.
Signed-off-by: NPaul Brook <paul@codesourcery.com>
上级 30a8cac1
......@@ -1252,8 +1252,10 @@ if( cmd == val ) { \
int cmd = (int)tswap32(tflag);
#ifdef FUTEX_PRIVATE_FLAG
if (cmd == FUTEX_PRIVATE_FLAG)
if (cmd & FUTEX_PRIVATE_FLAG) {
gemu_log("FUTEX_PRIVATE_FLAG|");
cmd &= ~FUTEX_PRIVATE_FLAG;
}
#endif
print_op(FUTEX_WAIT)
print_op(FUTEX_WAKE)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册