direct-io.hg

changeset 11383:91fd23533210

[XEN][POWERPC] correct HTAB allocation typo
Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
author Jimi Xenidis <jimix@watson.ibm.com>
date Mon Aug 28 11:52:17 2006 -0400 (2006-08-28)
parents e07281779b88
children 3e144748d36f
files xen/arch/powerpc/shadow.c
line diff
     1.1 --- a/xen/arch/powerpc/shadow.c	Sun Aug 27 20:48:06 2006 -0400
     1.2 +++ b/xen/arch/powerpc/shadow.c	Mon Aug 28 11:52:17 2006 -0400
     1.3 @@ -46,7 +46,7 @@ static ulong htab_alloc(struct domain *d
     1.4  
     1.5      if (order < 6)
     1.6          order = 6;              /* architectural minimum is 2^18 */
     1.7 -    if (order < 34)
     1.8 +    if (order > 34)
     1.9          order = 34;             /* architectural minimum is 2^46 */
    1.10  
    1.11      htab_raddr = (ulong)alloc_xenheap_pages(order);