WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Fix ia64 build.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 29 Jul 2008 06:00:14 -0700
Delivery-date: Tue, 29 Jul 2008 06:00:05 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Fix ia64 build., Xen patchbot-unstable <=