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:
d0bc90f
)
rcu: Return bool type in rcu_lockdep_current_cpu_online()
author
Pranith Kumar
<bobby.prani@gmail.com>
Tue, 8 Jul 2014 22:26:18 +0000
(18:26 -0400)
committer
Paul E. McKenney
<paulmck@linux.vnet.ibm.com>
Sun, 7 Sep 2014 23:18:11 +0000
(16:18 -0700)
Return true instead of 1 in rcu_lockdep_current_cpu_online() as this
has bool as return type.
Signed-off-by: Pranith Kumar <bobby.prani@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
include/linux/rcupdate.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/rcupdate.h
b/include/linux/rcupdate.h
index d231aa17b1d7490092b1994facbe21c496bead66..7e47e44bce0306cdb7c56c05249c6d0f337bb6f0 100644
(file)
--- a/
include/linux/rcupdate.h
+++ b/
include/linux/rcupdate.h
@@
-349,7
+349,7
@@
bool rcu_lockdep_current_cpu_online(void);
#else /* #if defined(CONFIG_HOTPLUG_CPU) && defined(CONFIG_PROVE_RCU) */
static inline bool rcu_lockdep_current_cpu_online(void)
{
- return
1
;
+ return
true
;
}
#endif /* #else #if defined(CONFIG_HOTPLUG_CPU) && defined(CONFIG_PROVE_RCU) */