ia64/xen-unstable

changeset 11729:3e9fcbee3c09

[IA64] fix sparse tree build with p2m exposure disabled

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
author awilliam@xenbuild.aw
date Wed Oct 04 22:13:06 2006 -0600 (2006-10-04)
parents c1a8785f0eb1
children 77f554ef7484
files linux-2.6-xen-sparse/arch/ia64/xen/hypervisor.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/arch/ia64/xen/hypervisor.c	Wed Oct 04 22:12:50 2006 -0600
     1.2 +++ b/linux-2.6-xen-sparse/arch/ia64/xen/hypervisor.c	Wed Oct 04 22:13:06 2006 -0600
     1.3 @@ -40,7 +40,11 @@ EXPORT_SYMBOL(xen_start_info);
     1.4  int running_on_xen;
     1.5  EXPORT_SYMBOL(running_on_xen);
     1.6  
     1.7 +#ifdef CONFIG_XEN_IA64_EXPOSE_P2M
     1.8  static int p2m_expose_init(void);
     1.9 +#else
    1.10 +#define p2m_expose_init() (-ENOSYS)
    1.11 +#endif
    1.12  
    1.13  //XXX same as i386, x86_64 contiguous_bitmap_set(), contiguous_bitmap_clear()
    1.14  // move those to lib/contiguous_bitmap?