forked from Minki/linux
rcu-tasks: Mark variables static
The n_heavy_reader_attempts, n_heavy_reader_updates, and n_heavy_reader_ofl_updates variables are not used outside of their translation unit, so this commit marks them static. Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
This commit is contained in:
parent
78edc005f4
commit
6731da9e0f
@ -745,9 +745,9 @@ static DEFINE_PER_CPU(bool, trc_ipi_to_cpu);
|
||||
|
||||
// The number of detections of task quiescent state relying on
|
||||
// heavyweight readers executing explicit memory barriers.
|
||||
unsigned long n_heavy_reader_attempts;
|
||||
unsigned long n_heavy_reader_updates;
|
||||
unsigned long n_heavy_reader_ofl_updates;
|
||||
static unsigned long n_heavy_reader_attempts;
|
||||
static unsigned long n_heavy_reader_updates;
|
||||
static unsigned long n_heavy_reader_ofl_updates;
|
||||
|
||||
void call_rcu_tasks_trace(struct rcu_head *rhp, rcu_callback_t func);
|
||||
DEFINE_RCU_TASKS(rcu_tasks_trace, rcu_tasks_wait_gp, call_rcu_tasks_trace,
|
||||
|
Loading…
Reference in New Issue
Block a user