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

[Xen-changelog] [xen-unstable] [XEN][POWERPC] correct HTAB allocation typo



# HG changeset patch
# User Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
# Node ID 91fd235332106f63f21abc250434d379f67611e7
# Parent  e07281779b8805ef05957150774d44830b3cb2b6
[XEN][POWERPC] correct HTAB allocation typo
Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx>
---
 xen/arch/powerpc/shadow.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r e07281779b88 -r 91fd23533210 xen/arch/powerpc/shadow.c
--- a/xen/arch/powerpc/shadow.c Sun Aug 27 20:48:06 2006 -0400
+++ b/xen/arch/powerpc/shadow.c Mon Aug 28 11:52:17 2006 -0400
@@ -46,7 +46,7 @@ static ulong htab_alloc(struct domain *d
 
     if (order < 6)
         order = 6;              /* architectural minimum is 2^18 */
-    if (order < 34)
+    if (order > 34)
         order = 34;             /* architectural minimum is 2^46 */
 
     htab_raddr = (ulong)alloc_xenheap_pages(order);

_______________________________________________
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®.