diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-03-23 03:01:00 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-23 07:38:17 -0800 |
commit | 2178426d26661ed6e18a8d6ea0bc05c98d73600d (patch) | |
tree | 4c9635610e9ca52a06b169ac55c77abe1d4449d2 /kernel | |
parent | 7a673c6b8fff4b2888ef1d47462e4be79936ac5a (diff) | |
download | kernel-crypto-2178426d26661ed6e18a8d6ea0bc05c98d73600d.tar.gz kernel-crypto-2178426d26661ed6e18a8d6ea0bc05c98d73600d.tar.xz kernel-crypto-2178426d26661ed6e18a8d6ea0bc05c98d73600d.zip |
[PATCH] kernel/rcupdate.c: make two structs static
This patch makes two needlessly global structs static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/rcupdate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/rcupdate.c b/kernel/rcupdate.c index af8a2a57e17..6df1559b1c0 100644 --- a/kernel/rcupdate.c +++ b/kernel/rcupdate.c @@ -50,13 +50,13 @@ #include <linux/mutex.h> /* Definition for rcupdate control block. */ -struct rcu_ctrlblk rcu_ctrlblk = { +static struct rcu_ctrlblk rcu_ctrlblk = { .cur = -300, .completed = -300, .lock = SPIN_LOCK_UNLOCKED, .cpumask = CPU_MASK_NONE, }; -struct rcu_ctrlblk rcu_bh_ctrlblk = { +static struct rcu_ctrlblk rcu_bh_ctrlblk = { .cur = -300, .completed = -300, .lock = SPIN_LOCK_UNLOCKED, |