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

[Xen-changelog] [xen-unstable] Fix ia64 build.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1217321834 -3600
# Node ID b25fa9df7375e357da7a6d19538cc829907fe71b
# Parent  445681d122c096be52cdb1c1bd4423d4d6b99236
Fix ia64 build.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/common/page_alloc.c |    6 ++++++
 1 files changed, 6 insertions(+)

diff -r 445681d122c0 -r b25fa9df7375 xen/common/page_alloc.c
--- a/xen/common/page_alloc.c   Mon Jul 28 16:40:30 2008 +0100
+++ b/xen/common/page_alloc.c   Tue Jul 29 09:57:14 2008 +0100
@@ -557,10 +557,16 @@ void __init end_boot_allocator(void)
     }
 
     if ( !dma_bitsize && (num_online_nodes() > 1) )
+    {
+#ifdef CONFIG_X86
         dma_bitsize = min_t(unsigned int,
                             fls(NODE_DATA(0)->node_spanned_pages) - 1
                             + PAGE_SHIFT - 2,
                             32);
+#else
+        dma_bitsize = 32;
+#endif
+    }
 
     printk("Domain heap initialised");
     if ( dma_bitsize )

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