public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix comment in list.h that refers to nonexistent API
@ 2005-04-03  6:41 Paul E. McKenney
  0 siblings, 0 replies; only message in thread
From: Paul E. McKenney @ 2005-04-03  6:41 UTC (permalink / raw)
  To: linux-kernel

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: <paulmck@us.ibm.com>
---

diff -urpN -X dontdiff linux-2.6.12-rc1/include/linux/list.h linux-2.6.12-rc1-bettersk/include/linux/list.h
--- linux-2.6.12-rc1/include/linux/list.h	Tue Mar  1 23:38:10 2005
+++ linux-2.6.12-rc1-bettersk/include/linux/list.h	Sat Apr  2 12:19:50 2005
@@ -692,7 +692,7 @@ static inline void hlist_add_after(struc
  * @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)		 \

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-04-03  6:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-03  6:41 [PATCH] Fix comment in list.h that refers to nonexistent API Paul E. McKenney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox