Skip to content

Commit

Permalink
rcu: Use true/false in assignment to bool
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
  • Loading branch information
hofrat authored and paulmck committed Apr 19, 2017
1 parent 50dc7de commit 5455a7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/rcu/tree_plugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5455a7f

Please sign in to comment.