aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorawilliam@xenbuild2.aw <awilliam@xenbuild2.aw>2006-12-15 10:49:11 -0700
committerawilliam@xenbuild2.aw <awilliam@xenbuild2.aw>2006-12-15 10:49:11 -0700
commiteb1dd8990077474f7541fc52a02d515fabe051ab (patch)
treece4599af787420190d6ce3068aa72b4d8281c6de
parent2f760bd64d513f774358017404b34920226be6e0 (diff)
downloadxen-eb1dd8990077474f7541fc52a02d515fabe051ab.tar.gz
xen-eb1dd8990077474f7541fc52a02d515fabe051ab.tar.bz2
xen-eb1dd8990077474f7541fc52a02d515fabe051ab.zip
[IA64] remove global zero initializers
No need to init global variables to zero as it will place them in the data segment rather than the bss segment. Signed-off-by: Jes Sorensen <jes@sgi.com>
-rw-r--r--xen/arch/ia64/xen/xensetup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xen/arch/ia64/xen/xensetup.c b/xen/arch/ia64/xen/xensetup.c
index 76f28e0d15..7833642fb4 100644
--- a/xen/arch/ia64/xen/xensetup.c
+++ b/xen/arch/ia64/xen/xensetup.c
@@ -51,7 +51,7 @@ extern void trap_init(void);
extern void xen_patch_kernel(void);
/* opt_nosmp: If true, secondary processors are ignored. */
-static int opt_nosmp = 0;
+static int opt_nosmp;
boolean_param("nosmp", opt_nosmp);
/* maxcpus: maximum number of CPUs to activate. */
@@ -65,7 +65,7 @@ static int opt_xencons = 1;
integer_param("xencons", opt_xencons);
/* Toggle to allow non-legacy xencons UARTs to run in polling mode */
-static int opt_xencons_poll = 0;
+static int opt_xencons_poll;
boolean_param("xencons_poll", opt_xencons_poll);
/*
@@ -163,7 +163,7 @@ struct ns16550_defaults ns16550_com2 = {
};
/* efi_print: print efi table at boot */
-static int opt_efi_print = 0;
+static int opt_efi_print;
boolean_param("efi_print", opt_efi_print);
/* print EFI memory map: */