summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_futex.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/linux/linux_futex.c')
-rw-r--r--sys/compat/linux/linux_futex.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/compat/linux/linux_futex.c b/sys/compat/linux/linux_futex.c
index b69936c..736bd28 100644
--- a/sys/compat/linux/linux_futex.c
+++ b/sys/compat/linux/linux_futex.c
@@ -400,7 +400,7 @@ futex_atomic_op(struct thread *td, int encoded_op, uint32_t *uaddr)
"cmparg = %x, uaddr = %p\n",
op, cmp, oparg, cmparg, uaddr);
#endif
- /* XXX: linux verifies access here and returns EFAULT */
+ /* XXX: Linux verifies access here and returns EFAULT */
switch (op) {
case FUTEX_OP_SET:
@@ -521,11 +521,6 @@ linux_sys_futex(struct thread *td, struct linux_sys_futex_args *args)
LINUX_CTR3(sys_futex, "WAKE uaddr %p val % d val3 %d",
args->uaddr, args->val, args->val3);
- /*
- * XXX: Linux is able to cope with different addresses
- * corresponding to the same mapped memory in the sleeping
- * and waker process(es).
- */
#ifdef DEBUG
if (ldebug(sys_futex))
printf(ARGS(sys_futex, "futex_wake uaddr %p val %d val3 %d"),
OpenPOWER on IntegriCloud