Skip to content

Commit

Permalink
[PATCH] ppc64 boot: remove global initializers
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Olaf Hering authored and Paul Mackerras committed Oct 29, 2005
1 parent 844ae3a commit afbe8c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/ppc64/boot/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit afbe8c4

Please sign in to comment.