tree 5fcf27745b8e41c7997c04e71fd0df3617c339db parent 29504ff3be784372c4e2f7e31681a3e0292c4d9a author Paul E. McKenney <[EMAIL PROTECTED]> Sun, 17 Apr 2005 05:25:51 -0700 committer Linus Torvalds <[EMAIL PROTECTED]> Sun, 17 Apr 2005 05:25:51 -0700
[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 <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]> linux/list.h | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: include/linux/list.h =================================================================== --- 449f6598e10a1930d113fd7bbe3aa6ca37341d10/include/linux/list.h (mode:100644 sha1:dd7cd54fa831381b49310dc548d844d90762e016) +++ 5fcf27745b8e41c7997c04e71fd0df3617c339db/include/linux/list.h (mode:100644 sha1:399b51d1721880e6eac3d8b293a140938bf7eb17) @@ -692,7 +692,7 @@ * @member: the name of the hlist_node within the struct. * * This list-traversal primitive may safely run concurrently with - * the _rcu list-mutation primitives such as hlist_add_rcu() + * the _rcu list-mutation primitives such as hlist_add_head_rcu() * as long as the traversal is guarded by rcu_read_lock(). */ #define hlist_for_each_entry_rcu(tpos, pos, head, member) \ - To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html