summaryrefslogtreecommitdiffstats
path: root/kernel/rcu
diff options
context:
space:
mode:
authorPranith Kumar <bobby.prani@gmail.com>2014-07-08 18:26:13 -0400
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2014-09-07 16:18:10 -0700
commitd0bc90fd37e50e4ea22c51c26947fd78c2a7a6c2 (patch)
tree5a936f079af5026b0b1c907b12b8efa9ec2345e7 /kernel/rcu
parentf534ed1fd71cea885a59255d9b44c3b17df03eb1 (diff)
downloadlinux-d0bc90fd37e50e4ea22c51c26947fd78c2a7a6c2.tar.bz2
rcu: Return bool type for rcu_try_advance_all_cbs()
Return a bool type instead of 0 in rcu_try_advance_all_cbs(). Signed-off-by: Pranith Kumar <bobby.prani@gmail.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu')
-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 5defa2f089af..bb564560aeb8 100644
--- a/kernel/rcu/tree_plugin.h
+++ b/kernel/rcu/tree_plugin.h
@@ -1626,7 +1626,7 @@ static bool __maybe_unused rcu_try_advance_all_cbs(void)
/* Exit early if we advanced recently. */
if (jiffies == rdtp->last_advance_all)
- return 0;
+ return false;
rdtp->last_advance_all = jiffies;
for_each_rcu_flavor(rsp) {