From: Jimi Xenidis Date: Mon, 28 Aug 2006 15:52:17 +0000 (-0400) Subject: [XEN][POWERPC] correct HTAB allocation typo X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15673^2~27 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e301cd958f1ea3bf18bc4b31c8bdf6657932d8ae;p=xen.git [XEN][POWERPC] correct HTAB allocation typo Signed-off-by: Jimi Xenidis Signed-off-by: Hollis Blanchard --- diff --git a/xen/arch/powerpc/shadow.c b/xen/arch/powerpc/shadow.c index 0420da4bd3..2353136250 100644 --- a/xen/arch/powerpc/shadow.c +++ b/xen/arch/powerpc/shadow.c @@ -46,7 +46,7 @@ static ulong htab_alloc(struct domain *d, uint order) 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);