summaryrefslogtreecommitdiffstats
path: root/kernel/rcu
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-04-28 11:20:29 -0700
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-06-08 08:25:36 -0700
commitb5815e6cd3b747cacf7628a32a275aa2c0f61e06 (patch)
treea50321e2ca09aa759c121801a27d37298bd1443e /kernel/rcu
parent17c7798bea64b9d35c7b4cc14d564e6feff73ac3 (diff)
downloadlinux-stable-b5815e6cd3b747cacf7628a32a275aa2c0f61e06.tar.gz
linux-stable-b5815e6cd3b747cacf7628a32a275aa2c0f61e06.tar.bz2
linux-stable-b5815e6cd3b747cacf7628a32a275aa2c0f61e06.zip
srcu: Make exp_holdoff module parameter be static
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>
Diffstat (limited to 'kernel/rcu')
-rw-r--r--kernel/rcu/srcutree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcu/srcutree.c b/kernel/rcu/srcutree.c
index 03d57fe9f094..08d43736f72a 100644
--- 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);