[PATCH 1/2 2.6.10] rcu: make two internal structs static
From: Manfred Spraul (manfred_at_colorfullife.com)
Date: 12/29/04
- Previous message: Andrew Haninger: "Toshiba PS/2 touchpad on 2.6.X not working along bottom and right sides"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 29 Dec 2004 16:23:26 +0100 (CET) To: akpm@osdl.org
The patch below makes two needlessly global structs static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Tested with 2.6.10, no rediff required.
Signed-off-by: Manfred Spraul <manfred@colorfullife.com>
--- linux-2.6.10-rc2-mm4-full/kernel/rcupdate.c.old 2004-12-12 03:13:54.000000000 +0100
+++ linux-2.6.10-rc2-mm4-full/kernel/rcupdate.c 2004-12-12 03:14:15.000000000 +0100
@@ -60,9 +60,9 @@
/* 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 };
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Andrew Haninger: "Toshiba PS/2 touchpad on 2.6.X not working along bottom and right sides"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|