direct-io.hg

changeset 13081:41d9f00140c5

[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>
author awilliam@xenbuild2.aw
date Fri Dec 15 10:49:11 2006 -0700 (2006-12-15)
parents c6f637694b85
children cf23494af72c e17d7438e09e
files xen/arch/ia64/xen/xensetup.c
line diff
     1.1 --- a/xen/arch/ia64/xen/xensetup.c	Fri Dec 15 11:53:45 2006 +0000
     1.2 +++ b/xen/arch/ia64/xen/xensetup.c	Fri Dec 15 10:49:11 2006 -0700
     1.3 @@ -51,7 +51,7 @@ extern void trap_init(void);
     1.4  extern void xen_patch_kernel(void);
     1.5  
     1.6  /* opt_nosmp: If true, secondary processors are ignored. */
     1.7 -static int opt_nosmp = 0;
     1.8 +static int opt_nosmp;
     1.9  boolean_param("nosmp", opt_nosmp);
    1.10  
    1.11  /* maxcpus: maximum number of CPUs to activate. */
    1.12 @@ -65,7 +65,7 @@ static int opt_xencons = 1;
    1.13  integer_param("xencons", opt_xencons);
    1.14  
    1.15  /* Toggle to allow non-legacy xencons UARTs to run in polling mode */
    1.16 -static int opt_xencons_poll = 0;
    1.17 +static int opt_xencons_poll;
    1.18  boolean_param("xencons_poll", opt_xencons_poll);
    1.19  
    1.20  /*
    1.21 @@ -163,7 +163,7 @@ struct ns16550_defaults ns16550_com2 = {
    1.22  };
    1.23  
    1.24  /* efi_print: print efi table at boot */
    1.25 -static int opt_efi_print = 0;
    1.26 +static int opt_efi_print;
    1.27  boolean_param("efi_print", opt_efi_print);
    1.28  
    1.29  /* print EFI memory map: */