x86_64: No restriction on Xen heap address width.
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 26 Jan 2009 16:21:21 +0000 (16:21 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 26 Jan 2009 16:21:21 +0000 (16:21 +0000)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/common/page_alloc.c

index d8c67f513cecf1a0b3b7353b3680bcef0834919d..648fbd6971df1725324ea5f315d83b2e94579396 100644 (file)
@@ -703,8 +703,7 @@ void *alloc_xenheap_pages(unsigned int order)
     ASSERT(!in_irq());
 
     pg = alloc_heap_pages(
-        MEMZONE_XEN+1, bits_to_zone(32),
-        cpu_to_node(smp_processor_id()), order);
+        MEMZONE_XEN+1, NR_ZONES-1, cpu_to_node(smp_processor_id()), order);
     if ( unlikely(pg == NULL) )
         goto no_memory;