ia64/xen-unstable

changeset 18184:b25fa9df7375

Fix ia64 build.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Jul 29 09:57:14 2008 +0100 (2008-07-29)
parents 445681d122c0
children 7f65527eacd6
files xen/common/page_alloc.c
line diff
     1.1 --- a/xen/common/page_alloc.c	Mon Jul 28 16:40:30 2008 +0100
     1.2 +++ b/xen/common/page_alloc.c	Tue Jul 29 09:57:14 2008 +0100
     1.3 @@ -557,10 +557,16 @@ void __init end_boot_allocator(void)
     1.4      }
     1.5  
     1.6      if ( !dma_bitsize && (num_online_nodes() > 1) )
     1.7 +    {
     1.8 +#ifdef CONFIG_X86
     1.9          dma_bitsize = min_t(unsigned int,
    1.10                              fls(NODE_DATA(0)->node_spanned_pages) - 1
    1.11                              + PAGE_SHIFT - 2,
    1.12                              32);
    1.13 +#else
    1.14 +        dma_bitsize = 32;
    1.15 +#endif
    1.16 +    }
    1.17  
    1.18      printk("Domain heap initialised");
    1.19      if ( dma_bitsize )