Rename all memory primitives with prefix cmm_
[urcu.git] / urcu / rcuhlist.h
index be74145122a964b9d82aa38353b0f5d72f584b09..cce80aaf473890bcb42d8f8a82bd0dc1f0203f2b 100644 (file)
 
 /* 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;
-       smp_wmb();
+       cmm_smp_wmb();
        if (head->next)
                head->next->prev = newp;
        head->next = newp;
This page took 0.022406 seconds and 4 git commands to generate.