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

[Xen-changelog] [xen-unstable] [XEN][POWERPC] find_space returns garbage



# HG changeset patch
# User Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
# Node ID 47078e89e663e58145e6890862c86254be84b7ae
# Parent  9b3b420ec064ba6933998f82f0e07e0c816bef35
[XEN][POWERPC] find_space returns garbage

Based-on-patch-by: Amos Waterland <apw@xxxxxxxxxx>
Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx>
---
 xen/arch/powerpc/boot_of.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff -r 9b3b420ec064 -r 47078e89e663 xen/arch/powerpc/boot_of.c
--- a/xen/arch/powerpc/boot_of.c        Tue Aug 29 13:20:31 2006 -0500
+++ b/xen/arch/powerpc/boot_of.c        Thu Aug 17 19:03:06 2006 -0400
@@ -700,7 +700,8 @@ static ulong find_space(u32 size, u32 al
     ulong eomem = ((u64)map->length_high << 32) | (u64)map->length_low;
     ulong base;
 
-    if (size == 0) return base;
+    if (size == 0)
+        return 0;
 
     if (align == 0)
         of_panic("cannot call %s() with align of 0\n", __func__);

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


 


Rackspace

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