[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[XenPPC] [xenppc-unstable] [POWERPC][XEN] Fix uninitialized variable warning.



# HG changeset patch
# User Hollis Blanchard <hollisb@xxxxxxxxxx>
# Node ID ea0c006faab68d2c2a65750c90ec8881f0e0b003
# Parent  8b7a8c2e0178f326cfef9fa01a5042a52503dacc
[POWERPC][XEN] Fix uninitialized variable warning.
Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx>
---
 xen/arch/powerpc/memory.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 8b7a8c2e0178 -r ea0c006faab6 xen/arch/powerpc/memory.c
--- a/xen/arch/powerpc/memory.c Mon Jan 22 15:52:46 2007 -0500
+++ b/xen/arch/powerpc/memory.c Tue Jan 23 08:54:41 2007 -0600
@@ -120,7 +120,7 @@ void memory_init(module_t *mod, int mcou
 {
     ulong eomem;
     ulong bitmap_start = ~0UL;
-    ulong bitmap_end;
+    ulong bitmap_end = 0;
     ulong bitmap_size;
     ulong xh_pages;
     ulong start;

_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.