projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17c7798
)
srcu: Make exp_holdoff module parameter be static
author
Paul E. McKenney
<paulmck@linux.vnet.ibm.com>
Fri, 28 Apr 2017 18:20:29 +0000
(11:20 -0700)
committer
Paul E. McKenney
<paulmck@linux.vnet.ibm.com>
Thu, 8 Jun 2017 15:25:36 +0000
(08:25 -0700)
Because exp_holdoff is not used outside of srcutree.c, it can be static.
This commit therefore makes this change.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/srcutree.c
patch
|
blob
|
history
diff --git
a/kernel/rcu/srcutree.c
b/kernel/rcu/srcutree.c
index
03d57fe
..
08d4373
100644
(file)
--- a/
kernel/rcu/srcutree.c
+++ b/
kernel/rcu/srcutree.c
@@
-40,7
+40,7
@@
#include "rcu.h"
#include "rcu_segcblist.h"
-ulong exp_holdoff = 25 * 1000; /* Holdoff (ns) for auto-expediting. */
+
static
ulong exp_holdoff = 25 * 1000; /* Holdoff (ns) for auto-expediting. */
module_param(exp_holdoff, ulong, 0444);
static void srcu_invoke_callbacks(struct work_struct *work);