ia64/xen-unstable

changeset 17259:eee1bbb0e9f5

ia64: Fix ACPI header inclusion into libxc.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Mar 18 21:05:47 2008 +0000 (2008-03-18)
parents c40a5ae3e18b
children 0901aec1d00b
files tools/libxc/ia64/dom_fw_acpi.c tools/libxc/ia64/xc_dom_ia64_util.h
line diff
     1.1 --- a/tools/libxc/ia64/dom_fw_acpi.c	Tue Mar 18 19:36:43 2008 +0000
     1.2 +++ b/tools/libxc/ia64/dom_fw_acpi.c	Tue Mar 18 21:05:47 2008 +0000
     1.3 @@ -1,4 +1,5 @@
     1.4  #include <inttypes.h>
     1.5 +#include "xc_dom_ia64_util.h"
     1.6  #include <xen/acpi.h>
     1.7  
     1.8  uint8_t
     2.1 --- a/tools/libxc/ia64/xc_dom_ia64_util.h	Tue Mar 18 19:36:43 2008 +0000
     2.2 +++ b/tools/libxc/ia64/xc_dom_ia64_util.h	Tue Mar 18 21:05:47 2008 +0000
     2.3 @@ -23,4 +23,8 @@ extern int shared_info_ia64(struct xc_do
     2.4  #define FW_MEM_BASE 0xff000000UL
     2.5  #define FW_MEM_SIZE 0x01000000UL
     2.6  
     2.7 +#ifdef __XEN_TOOLS__
     2.8 +/* Necessary for including the acpi header chain when not in kernel context */
     2.9 +typedef struct { } spinlock_t;
    2.10 +#endif
    2.11  #endif /* XC_IA64_DOM_IA64_UTIL_H */