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:
4de376a
)
rcu: Fix sparse warning about rcu_batches_completed_preempt() being non-static
author
Pranith Kumar
<bobby.prani@gmail.com>
Tue, 8 Jul 2014 22:26:10 +0000
(18:26 -0400)
committer
Paul E. McKenney
<paulmck@linux.vnet.ibm.com>
Sun, 7 Sep 2014 23:18:08 +0000
(16:18 -0700)
fix sparse warning about rcu_batches_completed_preempt() being non-static by
marking it as static
Signed-off-by: Pranith Kumar <bobby.prani@gmail.com>
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 218fae30c3803f7f4c38194690de1671e9fc9883..5defa2f089af53f205f5f452aa69a5037b5fa347 100644
(file)
--- a/
kernel/rcu/tree_plugin.h
+++ b/
kernel/rcu/tree_plugin.h
@@
-134,7
+134,7
@@
static void __init rcu_bootup_announce(void)
* Return the number of RCU-preempt batches processed thus far
* for debug and statistics.
*/
-long rcu_batches_completed_preempt(void)
+
static
long rcu_batches_completed_preempt(void)
{
return rcu_preempt_state.completed;
}