diff options
author | Joe Perches <joe@perches.com> | 2015-03-30 16:46:16 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-05-27 12:58:01 -0700 |
commit | 5ce035fb7df413a72b6b956d4aa212a866f3b565 (patch) | |
tree | 2f049aab89ba949b1c58a8884924700e9edbe9b0 /kernel | |
parent | cd73ca21cd2bb3711b8d80ba74c90d37ef15fe4d (diff) | |
download | op-kernel-dev-5ce035fb7df413a72b6b956d4aa212a866f3b565.zip op-kernel-dev-5ce035fb7df413a72b6b956d4aa212a866f3b565.tar.gz |
rcu: tree_plugin: Use bool function return values of true/false not 1/0
Use the normal return values for bool functions
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/rcu/tree_plugin.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h index 0730bfc..f8af202 100644 --- a/kernel/rcu/tree_plugin.h +++ b/kernel/rcu/tree_plugin.h @@ -3056,9 +3056,9 @@ static bool rcu_nohz_full_cpu(struct rcu_state *rsp) if (tick_nohz_full_cpu(smp_processor_id()) && (!rcu_gp_in_progress(rsp) || ULONG_CMP_LT(jiffies, READ_ONCE(rsp->gp_start) + HZ))) - return 1; + return true; #endif /* #ifdef CONFIG_NO_HZ_FULL */ - return 0; + return false; } /* |