mirror of
https://github.com/xen-project/xen.git
synced 2026-10-30 03:00:05 +01:00
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 commit is contained in:
1 parent
5d942ff119
commit
d308f9ebc6
1 file changed
+2
-1
@@ -119,7 +119,8 @@
|
||||
(hnd).p = val; \
|
||||
} while ( 0 )
|
||||
#define uint64_aligned_t uint64_t __attribute__((aligned(8)))
|
||||
#define XEN_GUEST_HANDLE_64(name) __guest_handle_64_ ## name
|
||||
#define __XEN_GUEST_HANDLE_64(name) __guest_handle_64_ ## name
|
||||
#define XEN_GUEST_HANDLE_64(name) __XEN_GUEST_HANDLE_64(name)
|
||||
#endif
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||