Ignore FUTEX_FD op, as it is done by linux.

Approved by:	kib (mentor)
MFC after:	2 weeks
This commit is contained in:
dchagin 2009-03-15 19:38:34 +00:00
parent 09af73f25f
commit e488f4df7a
2 changed files with 1 additions and 8 deletions

View File

@ -276,13 +276,6 @@ linux_sys_futex(struct thread *td, struct linux_sys_futex_args *args)
FUTEX_SYSTEM_UNLOCK;
break;
case LINUX_FUTEX_FD:
#ifdef DEBUG
printf("linux_sys_futex: unimplemented op %d\n",
args->op);
#endif
return (ENOSYS);
case LINUX_FUTEX_WAKE_OP:
FUTEX_SYSTEM_LOCK;
#ifdef DEBUG

View File

@ -38,7 +38,7 @@
#define LINUX_FUTEX_WAIT 0
#define LINUX_FUTEX_WAKE 1
#define LINUX_FUTEX_FD 2
#define LINUX_FUTEX_FD 2 /* unused */
#define LINUX_FUTEX_REQUEUE 3
#define LINUX_FUTEX_CMP_REQUEUE 4
#define LINUX_FUTEX_WAKE_OP 5