From: Joe Perches Date: Mon, 30 Mar 2015 23:46:16 +0000 (-0700) Subject: rcu: tree_plugin: Use bool function return values of true/false not 1/0 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5ce035fb7df413a72b6b956d4aa212a866f3b565;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Paul E. McKenney --- diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h index 0730bfcf65db..f8af20273868 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; } /*