OSDN Git Service
(root)
/
android-x86
/
kernel.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
|
history
diff --git
a/kernel/rcu/tree_plugin.h
b/kernel/rcu/tree_plugin.h
index
218fae3
..
5defa2f
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;
}