From: Manfred Spraul The patch below makes two needlessly global structs static. Signed-off-by: Adrian Bunk Signed-off-by: Manfred Spraul Signed-off-by: Andrew Morton --- 25-akpm/kernel/rcupdate.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -puN kernel/rcupdate.c~rcu-make-two-internal-structs-static kernel/rcupdate.c --- 25/kernel/rcupdate.c~rcu-make-two-internal-structs-static 2004-12-31 01:22:39.852174056 -0800 +++ 25-akpm/kernel/rcupdate.c 2004-12-31 01:22:39.856173448 -0800 @@ -60,9 +60,9 @@ struct rcu_state { /* for current batch to proceed. */ }; -struct rcu_state rcu_state ____cacheline_maxaligned_in_smp = +static struct rcu_state rcu_state ____cacheline_maxaligned_in_smp = {.lock = SPIN_LOCK_UNLOCKED, .cpumask = CPU_MASK_NONE }; -struct rcu_state rcu_bh_state ____cacheline_maxaligned_in_smp = +static struct rcu_state rcu_bh_state ____cacheline_maxaligned_in_smp = {.lock = SPIN_LOCK_UNLOCKED, .cpumask = CPU_MASK_NONE }; DEFINE_PER_CPU(struct rcu_data, rcu_data) = { 0L }; _