aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/list.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@us.ibm.com>2005-04-16 18:25:51 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:25:51 -0400
commite1ba0dab261c1941fdf0db28868eaf459aaea089 (patch)
tree5fcf27745b8e41c7997c04e71fd0df3617c339db /include/linux/list.h
parent29504ff3be784372c4e2f7e31681a3e0292c4d9a (diff)
[PATCH] Fix comment in list.h that refers to nonexistent API
The hlist_for_each_entry_rcu() comment block refers to a nonexistent hlist_add_rcu() API, needs to change to hlist_add_head_rcu(). Signed-off-by: Paul E. McKenney <paulmck@us.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/list.h')
-rw-r--r--include/linux/list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/list.h b/include/linux/list.h
index dd7cd54fa831..399b51d17218 100644
--- a/include/linux/list.h
+++ b/include/linux/list.h
@@ -692,7 +692,7 @@ static inline void hlist_add_after(struct hlist_node *n,
692 * @member: the name of the hlist_node within the struct. 692 * @member: the name of the hlist_node within the struct.
693 * 693 *
694 * This list-traversal primitive may safely run concurrently with 694 * This list-traversal primitive may safely run concurrently with
695 * the _rcu list-mutation primitives such as hlist_add_rcu() 695 * the _rcu list-mutation primitives such as hlist_add_head_rcu()
696 * as long as the traversal is guarded by rcu_read_lock(). 696 * as long as the traversal is guarded by rcu_read_lock().
697 */ 697 */
698#define hlist_for_each_entry_rcu(tpos, pos, head, member) \ 698#define hlist_for_each_entry_rcu(tpos, pos, head, member) \