aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2013-07-19 12:51:08 +0100
committerIan Campbell <ian.campbell@citrix.com>2013-08-20 15:40:52 +0100
commit6bba043afe0f29ff4f87b839b55b58b15cca1c08 (patch)
tree928d7b25517816266f735a79f5eb2d02514e35c0 /tools/libxc
parent623038e4df4f09946e6126e5744a3a2e28add28f (diff)
downloadxen-6bba043afe0f29ff4f87b839b55b58b15cca1c08.tar.gz
xen-6bba043afe0f29ff4f87b839b55b58b15cca1c08.tar.bz2
xen-6bba043afe0f29ff4f87b839b55b58b15cca1c08.zip
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 <ian.campbell@citrix.com> Acked-by: Jan Beulich <JBeulich@suse.com> Acked-by: Keir Fraser <keir@xen.org> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxc')
-rw-r--r--tools/libxc/xenctrl.h5
1 files changed, 2 insertions, 3 deletions
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,