aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlaf Hering <olh@suse.de>2005-10-28 20:46:47 -0400
committerPaul Mackerras <paulus@samba.org>2005-10-29 01:08:03 -0400
commitafbe8c4bb0155f533d6e57edd269c93e2f23c2fa (patch)
tree890e8f4d7cc582db281da33b6f48bd47f8833f72
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>
-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 {
38 unsigned long size; 38 unsigned long size;
39 unsigned long memsize; 39 unsigned long memsize;
40}; 40};
41static struct addr_range vmlinux = {0, 0, 0}; 41static struct addr_range vmlinux;
42static struct addr_range vmlinuz = {0, 0, 0}; 42static struct addr_range vmlinuz;
43static struct addr_range initrd = {0, 0, 0}; 43static struct addr_range initrd;
44 44
45static char scratch[46912]; /* scratch space for gunzip, from zlib_inflate_workspacesize() */ 45static char scratch[46912]; /* scratch space for gunzip, from zlib_inflate_workspacesize() */
46static char elfheader[256]; 46static char elfheader[256];