rcu: Mark non-global functions and variables as static
authorPaul E. McKenney <paulmck@kernel.org>
Sat, 12 Oct 2019 04:40:09 +0000 (21:40 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Thu, 12 Dec 2019 18:24:52 +0000 (10:24 -0800)
commitc30fe541896440667bd9e9068aedd1d440fbbcd2
treeff79012eff842026e1d3f213c70f2eda6d970300
parent4414abf89158d734a83c99f6504f648417bd9550
rcu: Mark non-global functions and variables as static

Each of rcu_state, rcu_rnp_online_cpus(), rcu_dynticks_curr_cpu_in_eqs(),
and rcu_dynticks_snap() are used only in the kernel/rcu/tree.o translation
unit, and may thus be marked static.  This commit therefore makes this
change.

Reported-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Reviewed-by: Joel Fernandes (Google) <joel@joelfernandes.org>
kernel/rcu/tree.c
kernel/rcu/tree.h