[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140224141847.GI8264@linux.vnet.ibm.com>
Date: Mon, 24 Feb 2014 06:18:47 -0800
From: "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
To: Liu Ping Fan <kernelfans@...il.com>
Cc: linux-kernel@...r.kernel.org, Dipankar Sarma <dipankar@...ibm.com>
Subject: Re: [PATCH] rcu: fix incorrect notes for code
On Mon, Feb 24, 2014 at 03:56:43PM +0800, Liu Ping Fan wrote:
> -/* Is the specified CPU a no-CPUs CPU? */
> +/* Is the specified CPU a no-CBs CPU? */
> bool rcu_is_nocb_cpu(int cpu)
>
> Signed-off-by: Liu Ping Fan <pingfank@...ux.vnet.ibm.com>
Good catch, queued for 3.16.
Thanx, Paul
> ---
> kernel/rcu/tree_plugin.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h
> index 6e2ef4b..ec6cb76 100644
> --- a/kernel/rcu/tree_plugin.h
> +++ b/kernel/rcu/tree_plugin.h
> @@ -2101,7 +2101,7 @@ static void rcu_init_one_nocb(struct rcu_node *rnp)
> init_waitqueue_head(&rnp->nocb_gp_wq[1]);
> }
>
> -/* Is the specified CPU a no-CPUs CPU? */
> +/* Is the specified CPU a no-CBs CPU? */
> bool rcu_is_nocb_cpu(int cpu)
> {
> if (have_rcu_nocb_mask)
> --
> 1.8.1.4
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists