From 6bba043afe0f29ff4f87b839b55b58b15cca1c08 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Fri, 19 Jul 2013 12:51:08 +0100 Subject: xen: only expose start_info on architectures which have a PV boot path Most of this struct is PV MMU specific and it is not used on ARM at all. Signed-off-by: Ian Campbell Acked-by: Jan Beulich Acked-by: Keir Fraser Acked-by: Ian Jackson --- tools/libxc/xenctrl.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tools/libxc') diff --git a/tools/libxc/xenctrl.h b/tools/libxc/xenctrl.h index 388a9c3d55..f2cebafc9d 100644 --- a/tools/libxc/xenctrl.h +++ b/tools/libxc/xenctrl.h @@ -408,15 +408,14 @@ typedef union shared_info_t s; } shared_info_any_t; +#if defined(__i386__) || defined(__x86_64__) typedef union { -#if defined(__i386__) || defined(__x86_64__) start_info_x86_64_t x64; start_info_x86_32_t x32; -#endif start_info_t s; } start_info_any_t; - +#endif int xc_domain_create(xc_interface *xch, uint32_t ssidref, -- cgit v1.2.3