ia64/xen-unstable
changeset 15925:f19c741cb55f
Evaluate XEN_GUEST_HANDLE_64 twice.
This fixes a build error for PV guests (OpenBSD, NetBSD) where the use
of XEN_GUEST_HANDLE_64(uint8_t) leads to a build error because uint8_t
is a #define and not a typedef.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
This fixes a build error for PV guests (OpenBSD, NetBSD) where the use
of XEN_GUEST_HANDLE_64(uint8_t) leads to a build error because uint8_t
is a #define and not a typedef.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
author | kfraser@localhost.localdomain |
---|---|
date | Tue Sep 18 15:09:57 2007 +0100 (2007-09-18) |
parents | e1c80d6bf2cf |
children | b594583d6e44 |
files | xen/include/public/arch-x86/xen-x86_32.h |
line diff
1.1 --- a/xen/include/public/arch-x86/xen-x86_32.h Tue Sep 18 15:08:11 2007 +0100 1.2 +++ b/xen/include/public/arch-x86/xen-x86_32.h Tue Sep 18 15:09:57 2007 +0100 1.3 @@ -119,7 +119,8 @@ 1.4 (hnd).p = val; \ 1.5 } while ( 0 ) 1.6 #define uint64_aligned_t uint64_t __attribute__((aligned(8))) 1.7 -#define XEN_GUEST_HANDLE_64(name) __guest_handle_64_ ## name 1.8 +#define __XEN_GUEST_HANDLE_64(name) __guest_handle_64_ ## name 1.9 +#define XEN_GUEST_HANDLE_64(name) __XEN_GUEST_HANDLE_64(name) 1.10 #endif 1.11 1.12 #ifndef __ASSEMBLY__