Yet another unimplemented futex operation, print out about.

Submitted by:	arundel
MFC after:	1 month.
This commit is contained in:
dchagin 2011-01-31 06:06:23 +00:00
parent 6570332d31
commit 633a205e26
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"); "op FUTEX_WAIT_REQUEUE_PI not implemented\n");
return (ENOSYS); 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: default:
linux_msg(td, linux_msg(td,
"linux_sys_futex: unknown op %d\n", args->op); "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_WAIT_BITSET 9
#define LINUX_FUTEX_WAKE_BITSET 10 #define LINUX_FUTEX_WAKE_BITSET 10
#define LINUX_FUTEX_WAIT_REQUEUE_PI 11 #define LINUX_FUTEX_WAIT_REQUEUE_PI 11
#define LINUX_FUTEX_CMP_REQUEUE_PI 12
#define LINUX_FUTEX_PRIVATE_FLAG 128 #define LINUX_FUTEX_PRIVATE_FLAG 128
#define LINUX_FUTEX_CLOCK_REALTIME 256 #define LINUX_FUTEX_CLOCK_REALTIME 256