Yet another unimplemented futex operation, print out about.

Submitted by:	arundel
MFC after:	1 month.
This commit is contained in:
Dmitry Chagin 2011-01-31 06:06:23 +00:00
parent 5163762354
commit 78ec1867a2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=218118
2 changed files with 8 additions and 0 deletions

View File

@ -693,6 +693,13 @@ linux_sys_futex(struct thread *td, struct linux_sys_futex_args *args)
"op FUTEX_WAIT_REQUEUE_PI not implemented\n");
return (ENOSYS);
case LINUX_FUTEX_CMP_REQUEUE_PI:
/* not yet implemented */
linux_msg(td,
"linux_sys_futex: "
"op LINUX_FUTEX_CMP_REQUEUE_PI not implemented\n");
return (ENOSYS);
default:
linux_msg(td,
"linux_sys_futex: unknown op %d\n", args->op);

View File

@ -51,6 +51,7 @@ extern struct mtx futex_mtx;
#define LINUX_FUTEX_WAIT_BITSET 9
#define LINUX_FUTEX_WAKE_BITSET 10
#define LINUX_FUTEX_WAIT_REQUEUE_PI 11
#define LINUX_FUTEX_CMP_REQUEUE_PI 12
#define LINUX_FUTEX_PRIVATE_FLAG 128
#define LINUX_FUTEX_CLOCK_REALTIME 256