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

[Xen-changelog] [xen-unstable] arm: few missing #define



# HG changeset patch
# User Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
# Date 1329143085 0
# Node ID 865d6bb72b5beac73b89dcacb8ea0fd29ed07c24
# Parent  9207cc3a0862d925d0574834b6f56636bf05ea30
arm: few missing #define

Few missing #define are the cause of a compile failure with
XEN_TARGET_ARM=arm and XEN_COMPILE_ARM=arm (for example in the case of a
native compilation). This patch fill the gaps.

Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Committed-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---


diff -r 9207cc3a0862 -r 865d6bb72b5b xen/include/public/arch-arm.h
--- a/xen/include/public/arch-arm.h     Mon Feb 13 13:34:47 2012 +0000
+++ b/xen/include/public/arch-arm.h     Mon Feb 13 14:24:45 2012 +0000
@@ -110,6 +110,8 @@
 
 struct arch_shared_info { };
 typedef struct arch_shared_info arch_shared_info_t;
+typedef uint64_t xen_callback_t;
+
 #endif
 
 #endif /*  __XEN_PUBLIC_ARCH_ARM_H__ */
diff -r 9207cc3a0862 -r 865d6bb72b5b xen/include/public/io/protocols.h
--- a/xen/include/public/io/protocols.h Mon Feb 13 13:34:47 2012 +0000
+++ b/xen/include/public/io/protocols.h Mon Feb 13 14:24:45 2012 +0000
@@ -26,6 +26,7 @@
 #define XEN_IO_PROTO_ABI_X86_32     "x86_32-abi"
 #define XEN_IO_PROTO_ABI_X86_64     "x86_64-abi"
 #define XEN_IO_PROTO_ABI_IA64       "ia64-abi"
+#define XEN_IO_PROTO_ABI_ARM        "arm-abi"
 
 #if defined(__i386__)
 # define XEN_IO_PROTO_ABI_NATIVE XEN_IO_PROTO_ABI_X86_32
@@ -33,6 +34,8 @@
 # define XEN_IO_PROTO_ABI_NATIVE XEN_IO_PROTO_ABI_X86_64
 #elif defined(__ia64__)
 # define XEN_IO_PROTO_ABI_NATIVE XEN_IO_PROTO_ABI_IA64
+#elif defined(__arm__)
+# define XEN_IO_PROTO_ABI_NATIVE XEN_IO_PROTO_ABI_ARM
 #else
 # error arch fixup needed here
 #endif

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