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

[Xen-changelog] [xen-unstable] [IA64] fix sparse tree build with p2m exposure disabled



# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID 3e9fcbee3c09f58af9ffee1d6188447e9ec179dc
# Parent  c1a8785f0eb1a2c09b0403ea38dfd7a70a3f2c21
[IA64] fix sparse tree build with p2m exposure disabled

Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>
---
 linux-2.6-xen-sparse/arch/ia64/xen/hypervisor.c |    4 ++++
 1 files changed, 4 insertions(+)

diff -r c1a8785f0eb1 -r 3e9fcbee3c09 
linux-2.6-xen-sparse/arch/ia64/xen/hypervisor.c
--- a/linux-2.6-xen-sparse/arch/ia64/xen/hypervisor.c   Wed Oct 04 22:12:50 
2006 -0600
+++ b/linux-2.6-xen-sparse/arch/ia64/xen/hypervisor.c   Wed Oct 04 22:13:06 
2006 -0600
@@ -40,7 +40,11 @@ int running_on_xen;
 int running_on_xen;
 EXPORT_SYMBOL(running_on_xen);
 
+#ifdef CONFIG_XEN_IA64_EXPOSE_P2M
 static int p2m_expose_init(void);
+#else
+#define p2m_expose_init() (-ENOSYS)
+#endif
 
 //XXX same as i386, x86_64 contiguous_bitmap_set(), contiguous_bitmap_clear()
 // move those to lib/contiguous_bitmap?

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