ia64/xen-unstable

changeset 13966:f8030a569811

Export PRI_xen_pfn rather than PRIpfn: less polluting of namespace.
libxc continues to use PRIpfn internally, #defined to PRI_xen_pfn.

Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Wed Feb 14 19:17:41 2007 +0000 (2007-02-14)
parents 9af0c7e4ff51
children 82f66bc01da2
files tools/libxc/xc_dom.h xen/include/public/arch-ia64.h xen/include/public/arch-powerpc.h xen/include/public/arch-x86/xen.h
line diff
     1.1 --- a/tools/libxc/xc_dom.h	Wed Feb 14 19:01:35 2007 +0000
     1.2 +++ b/tools/libxc/xc_dom.h	Wed Feb 14 19:17:41 2007 +0000
     1.3 @@ -7,6 +7,8 @@
     1.4  typedef uint64_t xen_vaddr_t;
     1.5  typedef uint64_t xen_paddr_t;
     1.6  
     1.7 +#define PRIpfn PRI_xen_pfn
     1.8 +
     1.9  struct xc_dom_seg {
    1.10      xen_vaddr_t vstart;
    1.11      xen_vaddr_t vend;
     2.1 --- a/xen/include/public/arch-ia64.h	Wed Feb 14 19:01:35 2007 +0000
     2.2 +++ b/xen/include/public/arch-ia64.h	Wed Feb 14 19:17:41 2007 +0000
     2.3 @@ -57,7 +57,7 @@ DEFINE_XEN_GUEST_HANDLE(void);
     2.4  
     2.5  typedef unsigned long xen_pfn_t;
     2.6  DEFINE_XEN_GUEST_HANDLE(xen_pfn_t);
     2.7 -#define PRIpfn "lx"
     2.8 +#define PRI_xen_pfn "lx"
     2.9  #endif
    2.10  
    2.11  /* Arch specific VIRQs definition */
     3.1 --- a/xen/include/public/arch-powerpc.h	Wed Feb 14 19:01:35 2007 +0000
     3.2 +++ b/xen/include/public/arch-powerpc.h	Wed Feb 14 19:17:41 2007 +0000
     3.3 @@ -56,7 +56,7 @@ DEFINE_XEN_GUEST_HANDLE(void);
     3.4  
     3.5  typedef unsigned long long xen_pfn_t;
     3.6  DEFINE_XEN_GUEST_HANDLE(xen_pfn_t);
     3.7 -#define PRIpfn "llx"
     3.8 +#define PRI_xen_pfn "llx"
     3.9  #endif
    3.10  
    3.11  /*
     4.1 --- a/xen/include/public/arch-x86/xen.h	Wed Feb 14 19:01:35 2007 +0000
     4.2 +++ b/xen/include/public/arch-x86/xen.h	Wed Feb 14 19:17:41 2007 +0000
     4.3 @@ -61,7 +61,7 @@ DEFINE_XEN_GUEST_HANDLE(void);
     4.4  
     4.5  typedef unsigned long xen_pfn_t;
     4.6  DEFINE_XEN_GUEST_HANDLE(xen_pfn_t);
     4.7 -#define PRIpfn "lx"
     4.8 +#define PRI_xen_pfn "lx"
     4.9  #endif
    4.10  
    4.11  /*