You need to sign in or sign up before continuing.
提交 5455a7f6 编写于 作者: N Nicholas Mc Guire 提交者: Paul E. McKenney

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: NNicholas Mc Guire <der.herr@hofr.at>
Signed-off-by: NPaul E. McKenney <paulmck@linux.vnet.ibm.com>
上级 50dc7def
...@@ -1709,7 +1709,7 @@ __setup("rcu_nocbs=", rcu_nocb_setup); ...@@ -1709,7 +1709,7 @@ __setup("rcu_nocbs=", rcu_nocb_setup);
static int __init parse_rcu_nocb_poll(char *arg) static int __init parse_rcu_nocb_poll(char *arg)
{ {
rcu_nocb_poll = 1; rcu_nocb_poll = true;
return 0; return 0;
} }
early_param("rcu_nocb_poll", parse_rcu_nocb_poll); early_param("rcu_nocb_poll", parse_rcu_nocb_poll);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册