diff options
author | dchagin <dchagin@FreeBSD.org> | 2009-03-15 19:38:34 +0000 |
---|---|---|
committer | dchagin <dchagin@FreeBSD.org> | 2009-03-15 19:38:34 +0000 |
commit | e488f4df7ac6fbbbb933a95cb2b979f2d98ebd95 (patch) | |
tree | 603d3f3c9b84402a8981588ecedb6f5aeac8b126 | |
parent | 09af73f25f725f6942127f0e1a37087aaa3c0584 (diff) | |
download | FreeBSD-src-e488f4df7ac6fbbbb933a95cb2b979f2d98ebd95.zip FreeBSD-src-e488f4df7ac6fbbbb933a95cb2b979f2d98ebd95.tar.gz |
Ignore FUTEX_FD op, as it is done by linux.
Approved by: kib (mentor)
MFC after: 2 weeks
-rw-r--r-- | sys/compat/linux/linux_futex.c | 7 | ||||
-rw-r--r-- | sys/compat/linux/linux_futex.h | 2 |
2 files changed, 1 insertions, 8 deletions
diff --git a/sys/compat/linux/linux_futex.c b/sys/compat/linux/linux_futex.c index f87bcae..cda17fb 100644 --- a/sys/compat/linux/linux_futex.c +++ b/sys/compat/linux/linux_futex.c @@ -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 diff --git a/sys/compat/linux/linux_futex.h b/sys/compat/linux/linux_futex.h index d658925..ca8b768 100644 --- a/sys/compat/linux/linux_futex.h +++ b/sys/compat/linux/linux_futex.h @@ -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 |