diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-04-28 20:20:29 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-06-08 17:25:36 +0200 |
commit | b5815e6cd3b747cacf7628a32a275aa2c0f61e06 (patch) | |
tree | a50321e2ca09aa759c121801a27d37298bd1443e /kernel/rcu/srcutree.c | |
parent | rcu: Update rcu_bootup_announce_oddness() (diff) | |
download | linux-b5815e6cd3b747cacf7628a32a275aa2c0f61e06.tar.xz linux-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/srcutree.c')
-rw-r--r-- | kernel/rcu/srcutree.c | 2 |
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); |