summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2011-03-10 19:50:12 +0000
committerjhb <jhb@FreeBSD.org>2011-03-10 19:50:12 +0000
commitfaa7c47cee548849c5160cbc1e2ef218fc3bf3b3 (patch)
tree81d0f40473282e63799124f46538b8424015ce29 /sys
parente18a22e8282e2df58cfcd8a9b481c8973faa5693 (diff)
downloadFreeBSD-src-faa7c47cee548849c5160cbc1e2ef218fc3bf3b3.zip
FreeBSD-src-faa7c47cee548849c5160cbc1e2ef218fc3bf3b3.tar.gz
Remove now-obsolete comment.
Submitted by: netchild MFC after: 1 week
Diffstat (limited to 'sys')
-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