lkml.org 
[lkml]   [2014]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@linux.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
>



\
 
 \ /
  Last update: 2014-02-25 06:01    [W:1.236 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site