|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-3.0.4-testing] [IA64] remove global zero initialize
# HG changeset patch
# User awilliam@xxxxxxxxxxxx
# Date 1166204951 25200
# Node ID 41d9f00140c51783ef4030b4f646feb36af7c195
# Parent c6f637694b85cb250e194e94e8d4e65be8f4d8e4
[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@xxxxxxx>
---
xen/arch/ia64/xen/xensetup.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff -r c6f637694b85 -r 41d9f00140c5 xen/arch/ia64/xen/xensetup.c
--- a/xen/arch/ia64/xen/xensetup.c Fri Dec 15 11:53:45 2006 +0000
+++ b/xen/arch/ia64/xen/xensetup.c Fri Dec 15 10:49:11 2006 -0700
@@ -51,7 +51,7 @@ extern void xen_patch_kernel(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 @@ integer_param("xencons", opt_xencons);
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: */
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-3.0.4-testing] [IA64] remove global zero initializers,
Xen patchbot-3.0.4-testing <=
|
|
|
|
|