WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

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

To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] [PATCH 12/12][RFC]MCA handler support for Xen/ia64
From: SUZUKI Kazuhiro <kaz@xxxxxxxxxxxxxx>
Date: Wed, 06 Sep 2006 20:19:23 +0900 (JST)
Delivery-date: Wed, 06 Sep 2006 04:19:40 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060906.201502.110833900.kaz@xxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20060906.201502.110833900.kaz@xxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
[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