projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rcuja testing: add arbitrary wait
[userspace-rcu.git]
/
urcu
/
rcuhlist.h
diff --git
a/urcu/rcuhlist.h
b/urcu/rcuhlist.h
index 06359d5b2bd95d15296132c8c260a1abae5d90e1..1dcbdb4eecbc35207ba85c8c47af7a49d82f1f9f 100644
(file)
--- a/
urcu/rcuhlist.h
+++ b/
urcu/rcuhlist.h
@@
-54,7
+54,7
@@
static inline void cds_hlist_del_rcu(struct cds_hlist_node *elem)
* Get first element from a RCU hlist. Assumes the hlist is not empty.
* This must be done while rcu_read_lock() is held.
*/
* Get first element from a RCU hlist. Assumes the hlist is not empty.
* This must be done while rcu_read_lock() is held.
*/
-#define cds_hlist_first_rcu(ptr, type
, member)
\
+#define cds_hlist_first_rcu(ptr, type
)
\
rcu_dereference((ptr)->next)
/*
rcu_dereference((ptr)->next)
/*
@@
-69,10
+69,10
@@
static inline void cds_hlist_del_rcu(struct cds_hlist_node *elem)
* This must be done while rcu_read_lock() is held.
*/
* This must be done while rcu_read_lock() is held.
*/
-#define cds_hlist_for_each_rcu(pos, head
, member)
\
+#define cds_hlist_for_each_rcu(pos, head
)
\
for (pos = rcu_dereference((head)->next); \
pos != NULL; \
for (pos = rcu_dereference((head)->next); \
pos != NULL; \
- pos = rcu_dereference(
pos
->next))
+ pos = rcu_dereference(
(pos)
->next))
/*
* Iterate through elements of the list.
/*
* Iterate through elements of the list.
This page took
0.036212 seconds
and
4
git commands to generate.