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.liburcu.org/?p=urcu.git;a=commitdiff_plain;h=a45fb1ffc0af634583bc8b3739e3416600d8928e;hp=5db941e8f87f9728883c2dd0446698d13d5b9fec 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;