diff options
author | Pranith Kumar <bobby.prani@gmail.com> | 2014-07-09 00:26:13 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-09-08 01:18:10 +0200 |
commit | d0bc90fd37e50e4ea22c51c26947fd78c2a7a6c2 (patch) | |
tree | 5a936f079af5026b0b1c907b12b8efa9ec2345e7 /kernel/rcu/tree_plugin.h | |
parent | rcu: Use bool type for return value in rcu_is_watching() (diff) | |
download | linux-d0bc90fd37e50e4ea22c51c26947fd78c2a7a6c2.tar.xz linux-d0bc90fd37e50e4ea22c51c26947fd78c2a7a6c2.zip |
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/tree_plugin.h')
-rw-r--r-- | kernel/rcu/tree_plugin.h | 2 |
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) { |