diff options
author | Pranith Kumar <bobby.prani@gmail.com> | 2014-07-08 18:26:13 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-09-07 19:18:10 -0400 |
commit | d0bc90fd37e50e4ea22c51c26947fd78c2a7a6c2 (patch) | |
tree | 5a936f079af5026b0b1c907b12b8efa9ec2345e7 | |
parent | f534ed1fd71cea885a59255d9b44c3b17df03eb1 (diff) |
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>
-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) | |||
1626 | 1626 | ||
1627 | /* Exit early if we advanced recently. */ | 1627 | /* Exit early if we advanced recently. */ |
1628 | if (jiffies == rdtp->last_advance_all) | 1628 | if (jiffies == rdtp->last_advance_all) |
1629 | return 0; | 1629 | return false; |
1630 | rdtp->last_advance_all = jiffies; | 1630 | rdtp->last_advance_all = jiffies; |
1631 | 1631 | ||
1632 | for_each_rcu_flavor(rsp) { | 1632 | for_each_rcu_flavor(rsp) { |