Displaying 1 result from an estimated 1 matches for "xen_domctl_set_opt_featur".
Did you mean:
xen_domctl_set_opt_feature
2007 Dec 10
0
[PATCH] Fix domctl GCC dependency
...9;t allow zero-sized structs.
Signed-off-by: John Levon <john.levon@sun.com>
diff --git a/xen/include/public/domctl.h b/xen/include/public/domctl.h
--- a/xen/include/public/domctl.h
+++ b/xen/include/public/domctl.h
@@ -562,8 +562,10 @@ DEFINE_XEN_GUEST_HANDLE(xen_domctl_ext_v
*/
#define XEN_DOMCTL_set_opt_feature 44
struct xen_domctl_set_opt_feature {
-#ifdef __ia64__
+#if defined(__ia64__)
struct xen_ia64_opt_feature optf;
+#elif !defined(__GNUC__)
+ uint64_t dummy;
#endif
};
typedef struct xen_domctl_set_opt_feature xen_domctl_set_opt_feature_t;
___________________________________________...