summaryrefslogtreecommitdiffstats
path: root/arch/ppc64
diff options
context:
space:
mode:
authorOlaf Hering <olh@suse.de>2005-10-28 17:46:47 -0700
committerPaul Mackerras <paulus@samba.org>2005-10-29 15:08:03 +1000
commitafbe8c4bb0155f533d6e57edd269c93e2f23c2fa (patch)
tree890e8f4d7cc582db281da33b6f48bd47f8833f72 /arch/ppc64
parent844ae3a0d1638753802770cde881dff0e0704551 (diff)
[PATCH] ppc64 boot: remove global initializers
No need to initialize global variables. Signed-off-by: Olaf Hering <olh@suse.de> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Anton Blanchard <anton@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc64')
-rw-r--r--arch/ppc64/boot/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/ppc64/boot/main.c b/arch/ppc64/boot/main.c
index c2c1f330911..3304ed34c44 100644
--- a/arch/ppc64/boot/main.c
+++ b/arch/ppc64/boot/main.c
@@ -38,9 +38,9 @@ struct addr_range {
unsigned long size;
unsigned long memsize;
};
-static struct addr_range vmlinux = {0, 0, 0};
-static struct addr_range vmlinuz = {0, 0, 0};
-static struct addr_range initrd = {0, 0, 0};
+static struct addr_range vmlinux;
+static struct addr_range vmlinuz;
+static struct addr_range initrd;
static char scratch[46912]; /* scratch space for gunzip, from zlib_inflate_workspacesize() */
static char elfheader[256];