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

[Xen-changelog] [xen-unstable] [LIBELF] Define PRIpfn next to xen_pfn_t.



# HG changeset patch
# User Hollis Blanchard <hollisb@xxxxxxxxxx>
# Date 1171053802 21600
# Node ID 632d8e57690064e0ff2a8271f6544916a9343f06
# Parent  c7251801580abd59b9bab3dd8df1ae29fded4e06
[LIBELF] Define PRIpfn next to xen_pfn_t.
Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx>
---
 tools/libxc/xc_dom.h              |    5 -----
 xen/include/public/arch-ia64.h    |    1 +
 xen/include/public/arch-powerpc.h |    1 +
 xen/include/public/arch-x86/xen.h |    1 +
 4 files changed, 3 insertions(+), 5 deletions(-)

diff -r c7251801580a -r 632d8e576900 tools/libxc/xc_dom.h
--- a/tools/libxc/xc_dom.h      Fri Feb 09 14:43:21 2007 -0600
+++ b/tools/libxc/xc_dom.h      Fri Feb 09 14:43:22 2007 -0600
@@ -6,11 +6,6 @@
 
 typedef uint64_t xen_vaddr_t;
 typedef uint64_t xen_paddr_t;
-
-/* FIXME: temporary hack ... */
-#ifndef PRIpfn
-#define PRIpfn "lx"
-#endif
 
 struct xc_dom_seg {
     xen_vaddr_t vstart;
diff -r c7251801580a -r 632d8e576900 xen/include/public/arch-ia64.h
--- a/xen/include/public/arch-ia64.h    Fri Feb 09 14:43:21 2007 -0600
+++ b/xen/include/public/arch-ia64.h    Fri Feb 09 14:43:22 2007 -0600
@@ -55,6 +55,7 @@ DEFINE_XEN_GUEST_HANDLE(void);
 
 typedef unsigned long xen_pfn_t;
 DEFINE_XEN_GUEST_HANDLE(xen_pfn_t);
+#define PRIpfn "lx"
 #endif
 
 /* Arch specific VIRQs definition */
diff -r c7251801580a -r 632d8e576900 xen/include/public/arch-powerpc.h
--- a/xen/include/public/arch-powerpc.h Fri Feb 09 14:43:21 2007 -0600
+++ b/xen/include/public/arch-powerpc.h Fri Feb 09 14:43:22 2007 -0600
@@ -56,6 +56,7 @@ DEFINE_XEN_GUEST_HANDLE(void);
 
 typedef unsigned long long xen_pfn_t;
 DEFINE_XEN_GUEST_HANDLE(xen_pfn_t);
+#define PRIpfn "llx"
 #endif
 
 /*
diff -r c7251801580a -r 632d8e576900 xen/include/public/arch-x86/xen.h
--- a/xen/include/public/arch-x86/xen.h Fri Feb 09 14:43:21 2007 -0600
+++ b/xen/include/public/arch-x86/xen.h Fri Feb 09 14:43:22 2007 -0600
@@ -61,6 +61,7 @@ DEFINE_XEN_GUEST_HANDLE(void);
 
 typedef unsigned long xen_pfn_t;
 DEFINE_XEN_GUEST_HANDLE(xen_pfn_t);
+#define PRIpfn "lx"
 #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®.