Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261564AbVDCGlj (ORCPT ); Sun, 3 Apr 2005 01:41:39 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261558AbVDCGlj (ORCPT ); Sun, 3 Apr 2005 01:41:39 -0500 Received: from e3.ny.us.ibm.com ([32.97.182.143]:45534 "EHLO e3.ny.us.ibm.com") by vger.kernel.org with ESMTP id S261564AbVDCGlZ (ORCPT ); Sun, 3 Apr 2005 01:41:25 -0500 Date: Sat, 2 Apr 2005 22:41:41 -0800 From: "Paul E. McKenney" To: linux-kernel@vger.kernel.org Subject: [PATCH] Fix comment in list.h that refers to nonexistent API Message-ID: <20050403064141.GA1751@us.ibm.com> Reply-To: paulmck@us.ibm.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1116 Lines: 23 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: --- 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) \ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/