| From | "Paul E. McKenney" <> | Subject | [PATCH tip/core/rcu 35/88] srcu: Make exp_holdoff module parameter be static | Date | Thu, 25 May 2017 14:59:08 -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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/rcu/srcutree.c b/kernel/rcu/srcutree.c index 725e5a90f631..021a9521a8b8 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); -- 2.5.2
|