rcu: fix incorrect notes for code
PATCH 1/1 rcu: fix incorrect notes for code
-/* 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 <[email protected]>
--- kernel/rcu/tree_plugin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/rcu/tree_plugin.h +1 -1
@@ -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)
Signature · 1 line
1.8.1.4
Quoted 5 lines · Liu Ping Fan
kernel/rcu/tree_plugin.h +1
-1-/* 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 <[email protected]>
Good catch, queued for 3.16.
Thanx, Paul
Quoted 20 lines
--- kernel/rcu/tree_plugin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)kernel/rcu/tree_plugin.h +1
-1@@ -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)Signature · 1 line
1.8.1.4