linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] rcu: fix incorrect notes for code
@ 2014-02-24  7:56 Liu Ping Fan
  2014-02-24 14:18 ` Paul E. McKenney
  0 siblings, 1 reply; 2+ messages in thread
From: Liu Ping Fan @ 2014-02-24  7:56 UTC (permalink / raw)
  To: linux-kernel; +Cc: Dipankar Sarma, Paul E. McKenney

-/* 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>
---
 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] rcu: fix incorrect notes for code
  2014-02-24  7:56 [PATCH] rcu: fix incorrect notes for code Liu Ping Fan
@ 2014-02-24 14:18 ` Paul E. McKenney
  0 siblings, 0 replies; 2+ messages in thread
From: Paul E. McKenney @ 2014-02-24 14:18 UTC (permalink / raw)
  To: Liu Ping Fan; +Cc: linux-kernel, Dipankar Sarma

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
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-02-24 14:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-24  7:56 [PATCH] rcu: fix incorrect notes for code Liu Ping Fan
2014-02-24 14:18 ` 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;
as well as URLs for NNTP newsgroup(s).