aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorPranith Kumar <bobby.prani@gmail.com>2014-07-08 18:26:17 -0400
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2014-09-16 13:08:01 -0400
commitf4aa84ba24872e3a8e59b58bc8533cae95597f2e (patch)
tree21e9a1544e88ebbbe2416e627b3d62c136abc5bf /kernel
parent4afc7e269befc7b6e09a994e48c67e36f4a378e1 (diff)
rcu: Return false instead of 0 in rcu_nocb_adopt_orphan_cbs()
Return false instead of 0 in rcu_nocb_adopt_orphan_cbs() as this has bool as return type. Signed-off-by: Pranith Kumar <bobby.prani@gmail.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Tested-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/rcu/tree_plugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h
index 427110475e33..4c1af96836f6 100644
--- a/kernel/rcu/tree_plugin.h
+++ b/kernel/rcu/tree_plugin.h
@@ -2581,7 +2581,7 @@ static bool __maybe_unused rcu_nocb_adopt_orphan_cbs(struct rcu_state *rsp,
2581 struct rcu_data *rdp, 2581 struct rcu_data *rdp,
2582 unsigned long flags) 2582 unsigned long flags)
2583{ 2583{
2584 return 0; 2584 return false;
2585} 2585}
2586 2586
2587static void __init rcu_boot_init_nocb_percpu_data(struct rcu_data *rdp) 2587static void __init rcu_boot_init_nocb_percpu_data(struct rcu_data *rdp)