projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50dc7de
)
rcu: Use true/false in assignment to bool
author
Nicholas Mc Guire
<der.herr@hofr.at>
Sat, 25 Mar 2017 19:46:02 +0000
(20:46 +0100)
committer
Paul E. McKenney
<paulmck@linux.vnet.ibm.com>
Wed, 19 Apr 2017 16:29:20 +0000
(09:29 -0700)
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>
kernel/rcu/tree_plugin.h
patch
|
blob
|
blame
|
history
diff --git
a/kernel/rcu/tree_plugin.h
b/kernel/rcu/tree_plugin.h
index 0a62a8f1caacfab8a2a39c729f70e445f8048cbf..f4b7a9be1a448886cb1e7cdb44a7bb549958abb3 100644
(file)
--- 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);