* [patch 137/198] Fix comment in list.h that refers to nonexistent API
@ 2005-04-12 10:32 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2005-04-12 10:32 UTC (permalink / raw)
To: torvalds; +Cc: linux-kernel, akpm, paulmck
From: "Paul E. McKenney" <paulmck@us.ibm.com>
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>
---
25-akpm/include/linux/list.h | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -puN include/linux/list.h~fix-comment-in-listh-that-refers-to-nonexistent-api include/linux/list.h
--- 25/include/linux/list.h~fix-comment-in-listh-that-refers-to-nonexistent-api 2005-04-12 03:21:36.498588272 -0700
+++ 25-akpm/include/linux/list.h 2005-04-12 03:21:36.501587816 -0700
@@ -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-12 18:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-12 10:32 [patch 137/198] Fix comment in list.h that refers to nonexistent API akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®