summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-03-23 12:01:00 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-23 16:38:17 +0100
commit2178426d26661ed6e18a8d6ea0bc05c98d73600d (patch)
tree4c9635610e9ca52a06b169ac55c77abe1d4449d2 /kernel
parent[PATCH] devpts: use lib/parser.c for parsing mount options (diff)
downloadlinux-2178426d26661ed6e18a8d6ea0bc05c98d73600d.tar.xz
linux-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/rcupdate.c b/kernel/rcupdate.c
index af8a2a57e17d..6df1559b1c02 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,