* [2.6 patch] i386 setup.c: make 4 variables static
@ 2004-12-12 2:11 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2004-12-12 2:11 UTC (permalink / raw)
To: linux-kernel
The patch below makes four needlessly global variables static.
diffstat output:
arch/i386/kernel/setup.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.10-rc2-mm4-full/arch/i386/kernel/setup.c.old 2004-12-11 23:44:49.000000000 +0100
+++ linux-2.6.10-rc2-mm4-full/arch/i386/kernel/setup.c 2004-12-11 23:46:04.000000000 +0100
@@ -425,10 +425,10 @@
struct e820entry *pbios; /* pointer to original bios entry */
unsigned long long addr; /* address for this change point */
};
-struct change_member change_point_list[2*E820MAX] __initdata;
-struct change_member *change_point[2*E820MAX] __initdata;
-struct e820entry *overlap_list[E820MAX] __initdata;
-struct e820entry new_bios[E820MAX] __initdata;
+static struct change_member change_point_list[2*E820MAX] __initdata;
+static struct change_member *change_point[2*E820MAX] __initdata;
+static struct e820entry *overlap_list[E820MAX] __initdata;
+static struct e820entry new_bios[E820MAX] __initdata;
static int __init sanitize_e820_map(struct e820entry * biosmap, char * pnr_map)
{
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-12-12 2:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-12 2:11 [2.6 patch] i386 setup.c: make 4 variables static Adrian Bunk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.