From: Mathieu Desnoyers Date: Fri, 19 Feb 2010 14:08:18 +0000 (-0500) Subject: rcuhlist: add head name fix X-Git-Tag: v0.4.2~23 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=a45fb1ffc0af634583bc8b3739e3416600d8928e;p=userspace-rcu.git rcuhlist: add head name fix Signed-off-by: Mathieu Desnoyers --- diff --git a/urcu/rcuhlist.h b/urcu/rcuhlist.h index be74145..89f7679 100644 --- a/urcu/rcuhlist.h +++ b/urcu/rcuhlist.h @@ -30,8 +30,8 @@ /* 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;