Commit 2f803905 authored by Manfred Spraul's avatar Manfred Spraul Committed by Linus Torvalds

[PATCH] rcu: make two internal structs static

The patch below makes two needlessly global structs static.
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarManfred Spraul <manfred@colorfullife.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent a48d69a5
......@@ -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 };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment