diff options
author | dchagin <dchagin@FreeBSD.org> | 2011-01-31 06:06:23 +0000 |
---|---|---|
committer | dchagin <dchagin@FreeBSD.org> | 2011-01-31 06:06:23 +0000 |
commit | 633a205e26877ea0c7bf1ae16fa8de11dafe9c4f (patch) | |
tree | 4a0ed12e3eb8fc9281e970441a728132abcbb5ec /sys/compat/linux | |
parent | 6570332d31939a8f1b325739d41b69e95d140823 (diff) | |
download | FreeBSD-src-633a205e26877ea0c7bf1ae16fa8de11dafe9c4f.zip FreeBSD-src-633a205e26877ea0c7bf1ae16fa8de11dafe9c4f.tar.gz |
Yet another unimplemented futex operation, print out about.
Submitted by: arundel
MFC after: 1 month.
Diffstat (limited to 'sys/compat/linux')
-rw-r--r-- | sys/compat/linux/linux_futex.c | 7 | ||||
-rw-r--r-- | sys/compat/linux/linux_futex.h | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_futex.c b/sys/compat/linux/linux_futex.c index 6ee293f..bdc379a 100644 --- a/sys/compat/linux/linux_futex.c +++ b/sys/compat/linux/linux_futex.c @@ -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); diff --git a/sys/compat/linux/linux_futex.h b/sys/compat/linux/linux_futex.h index 3eb38b2..0990daa 100644 --- a/sys/compat/linux/linux_futex.h +++ b/sys/compat/linux/linux_futex.h @@ -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 |