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

[Xen-ia64-devel] [PATCH 12/12][RFC]MCA handler support for Xen/ia64



[12/12] Fix conflicts of typedef of UINT64 and BOOLEAN.[mca-typedef.patch]

Signed-off-by: Yutaka Ezaki <yutaka.ezaki@xxxxxxxxxxxxxx>
Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Signed-off-by: SUZUKI Kazuhiro <kaz@xxxxxxxxxxxxxx>
diff -r 685bf9b75eb1 xen/include/acpi/actypes.h
--- a/xen/include/acpi/actypes.h        Mon Sep 04 14:48:03 2006 -0600
+++ b/xen/include/acpi/actypes.h        Wed Sep 06 14:02:42 2006 +0900
@@ -103,12 +103,18 @@ typedef COMPILER_DEPENDENT_UINT64       
  * 64-bit type definitions
  */
 typedef unsigned char                   UINT8;
+#ifndef        __TYPEDEF_BOOLEAN__
+#define        __TYPEDEF_BOOLEAN__
 typedef unsigned char                   BOOLEAN;
+#endif /* __TYPEDEF_BOOLEAN__ */
 typedef unsigned short                  UINT16;
 typedef int                             INT32;
 typedef unsigned int                    UINT32;
 typedef COMPILER_DEPENDENT_INT64        INT64;
+#ifndef        __TYPEDEF_UINT64__
+#define        __TYPEDEF_UINT64__
 typedef COMPILER_DEPENDENT_UINT64       UINT64;
+#endif /* __TYPEDEF_UINT64__ */
 
 /*! [End] no source code translation !*/
 
diff -r 685bf9b75eb1 xen/include/asm-ia64/vcpu.h
--- a/xen/include/asm-ia64/vcpu.h       Mon Sep 04 14:48:03 2006 -0600
+++ b/xen/include/asm-ia64/vcpu.h       Wed Sep 06 14:11:38 2006 +0900
@@ -10,9 +10,15 @@
 #include <asm/ia64_int.h>
 #include <xen/types.h>
 #include <public/xen.h>
+#ifndef        __TYPEDEF_UINT64__
+#define        __TYPEDEF_UINT64__
 typedef        unsigned long UINT64;
+#endif /* __TYPEDEF_UINT64__ */
 typedef        unsigned int UINT;
+#ifndef        __TYPEDEF_BOOLEAN__
+#define        __TYPEDEF_BOOLEAN__
 typedef        int BOOLEAN;
+#endif /* __TYPEDEF_BOOLEAN__ */
 struct vcpu;
 typedef        struct vcpu VCPU;
 typedef cpu_user_regs_t REGS;
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.