projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf33eb1
)
rcu: Use bool type for return value in rcu_is_watching()
author
Pranith Kumar
<bobby.prani@gmail.com>
Tue, 8 Jul 2014 22:26:11 +0000
(18:26 -0400)
committer
Paul E. McKenney
<paulmck@linux.vnet.ibm.com>
Sun, 7 Sep 2014 23:18:09 +0000
(16:18 -0700)
Use a bool type for return in rcu_is_watching().
Signed-off-by: Pranith Kumar <bobby.prani@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/tree.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/rcu/tree.c
b/kernel/rcu/tree.c
index 4b526ca46801a86070227fa318f07f26ef124fec..253ea55dc5083ce773d0c7a0a31c695661cd4701 100644
(file)
--- a/
kernel/rcu/tree.c
+++ b/
kernel/rcu/tree.c
@@
-819,7
+819,7
@@
bool notrace __rcu_is_watching(void)
*/
bool notrace rcu_is_watching(void)
{
-
int
ret;
+
bool
ret;
preempt_disable();
ret = __rcu_is_watching();