projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Add failover for platforms without nproc
[userspace-rcu.git]
/
compat_futex.c
diff --git
a/compat_futex.c
b/compat_futex.c
index 6fe378f965d4407734fe16f3ffcc8ff8eb4afbb1..9e918fe8e2aac035dc39e6e23868410348d02627 100644
(file)
--- a/
compat_futex.c
+++ b/
compat_futex.c
@@
-58,7
+58,7
@@
int compat_futex_noasync(int32_t *uaddr, int op, int32_t val,
/*
* Check if NULL. Don't let users expect that they are taken into
/*
* Check if NULL. Don't let users expect that they are taken into
- * account.
+ * account.
*/
assert(!timeout);
assert(!uaddr2);
*/
assert(!timeout);
assert(!uaddr2);
@@
-111,6
+111,8
@@
end:
* _ASYNC SIGNAL-SAFE_.
* For now, timeout, uaddr2 and val3 are unused.
* Waiter will busy-loop trying to read the condition.
* _ASYNC SIGNAL-SAFE_.
* For now, timeout, uaddr2 and val3 are unused.
* Waiter will busy-loop trying to read the condition.
+ * It is OK to use compat_futex_async() on a futex address on which
+ * futex() WAKE operations are also performed.
*/
int compat_futex_async(int32_t *uaddr, int op, int32_t val,
*/
int compat_futex_async(int32_t *uaddr, int op, int32_t val,
@@
-120,7
+122,7
@@
int compat_futex_async(int32_t *uaddr, int op, int32_t val,
/*
* Check if NULL. Don't let users expect that they are taken into
/*
* Check if NULL. Don't let users expect that they are taken into
- * account.
+ * account.
*/
assert(!timeout);
assert(!uaddr2);
*/
assert(!timeout);
assert(!uaddr2);
This page took
0.023412 seconds
and
4
git commands to generate.