aboutsummaryrefslogtreecommitdiffstats
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
parent[PATCH] ppc64 boot: fix typo in asm comments (diff)
downloadlinux-dev-afbe8c4bb0155f533d6e57edd269c93e2f23c2fa.tar.xz
linux-dev-afbe8c4bb0155f533d6e57edd269c93e2f23c2fa.zip
[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 c2c1f3309113..3304ed34c44b 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];