From: Keir Fraser Date: Tue, 29 Jul 2008 08:57:14 +0000 (+0100) Subject: Fix ia64 build. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14165^2~97 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=043521fecd43f5891ebed26609b6a4dd05f0626e;p=xen.git Fix ia64 build. Signed-off-by: Keir Fraser --- diff --git a/xen/common/page_alloc.c b/xen/common/page_alloc.c index 9ebdb20092..997b178d7c 100644 --- a/xen/common/page_alloc.c +++ b/xen/common/page_alloc.c @@ -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 )