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

[Xen-changelog] [xen-unstable] ia64: Fix ACPI header inclusion into libxc.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1205874347 0
# Node ID eee1bbb0e9f557c0d412bbada48369213dfc9df7
# Parent  c40a5ae3e18b4b1ab1debaf8144ff17ed6c6e095
ia64: Fix ACPI header inclusion into libxc.
Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>
---
 tools/libxc/ia64/dom_fw_acpi.c      |    1 +
 tools/libxc/ia64/xc_dom_ia64_util.h |    4 ++++
 2 files changed, 5 insertions(+)

diff -r c40a5ae3e18b -r eee1bbb0e9f5 tools/libxc/ia64/dom_fw_acpi.c
--- a/tools/libxc/ia64/dom_fw_acpi.c    Tue Mar 18 19:36:43 2008 +0000
+++ b/tools/libxc/ia64/dom_fw_acpi.c    Tue Mar 18 21:05:47 2008 +0000
@@ -1,4 +1,5 @@
 #include <inttypes.h>
+#include "xc_dom_ia64_util.h"
 #include <xen/acpi.h>
 
 uint8_t
diff -r c40a5ae3e18b -r eee1bbb0e9f5 tools/libxc/ia64/xc_dom_ia64_util.h
--- a/tools/libxc/ia64/xc_dom_ia64_util.h       Tue Mar 18 19:36:43 2008 +0000
+++ b/tools/libxc/ia64/xc_dom_ia64_util.h       Tue Mar 18 21:05:47 2008 +0000
@@ -23,4 +23,8 @@ extern int shared_info_ia64(struct xc_do
 #define FW_MEM_BASE 0xff000000UL
 #define FW_MEM_SIZE 0x01000000UL
 
+#ifdef __XEN_TOOLS__
+/* Necessary for including the acpi header chain when not in kernel context */
+typedef struct { } spinlock_t;
+#endif
 #endif /* XC_IA64_DOM_IA64_UTIL_H */

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