summaryrefslogtreecommitdiffstats
path: root/kernel/rcu
diff options
context:
space:
mode:
authorNicholas Mc Guire <der.herr@hofr.at>2017-03-25 20:46:02 +0100
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-04-19 09:29:20 -0700
commit5455a7f6a8dc66a354c6dbf0a9f40e7cdacd11db (patch)
tree031deb80a6d42592be4fe94551883e8316b0cad0 /kernel/rcu
parent50dc7def4a9e05d1329e0cc129a5146821130998 (diff)
downloadlinux-5455a7f6a8dc66a354c6dbf0a9f40e7cdacd11db.tar.bz2
rcu: Use true/false in assignment to bool
This commit makes the parse_rcu_nocb_poll() function assign true (rather than the constant 1) to the bool variable rcu_nocb_poll. Signed-off-by: Nicholas Mc Guire <der.herr@hofr.at> 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 0a62a8f1caac..f4b7a9be1a44 100644
--- a/kernel/rcu/tree_plugin.h
+++ b/kernel/rcu/tree_plugin.h
@@ -1709,7 +1709,7 @@ __setup("rcu_nocbs=", rcu_nocb_setup);
static int __init parse_rcu_nocb_poll(char *arg)
{
- rcu_nocb_poll = 1;
+ rcu_nocb_poll = true;
return 0;
}
early_param("rcu_nocb_poll", parse_rcu_nocb_poll);