projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename all memory primitives with prefix cmm_
[urcu.git]
/
urcu
/
rcuhlist.h
diff --git
a/urcu/rcuhlist.h
b/urcu/rcuhlist.h
index be74145122a964b9d82aa38353b0f5d72f584b09..cce80aaf473890bcb42d8f8a82bd0dc1f0203f2b 100644
(file)
--- a/
urcu/rcuhlist.h
+++ b/
urcu/rcuhlist.h
@@
-30,12
+30,12
@@
/* Add new element at the head of the list.
*/
/* Add new element at the head of the list.
*/
-static inline void hlist_add_head(struct hlist_node *newp,
- struct hlist_head *head)
+static inline void hlist_add_head
_rcu
(struct hlist_node *newp,
+
struct hlist_head *head)
{
newp->next = head->next;
newp->prev = (struct hlist_node *)head;
{
newp->next = head->next;
newp->prev = (struct hlist_node *)head;
- smp_wmb();
+
cmm_
smp_wmb();
if (head->next)
head->next->prev = newp;
head->next = newp;
if (head->next)
head->next->prev = newp;
head->next = newp;
This page took
0.026923 seconds
and
4
git commands to generate.