|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] Fix domctl GCC dependency
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1197453261 0
# Node ID dad243d08849279c26057d71fba3125bf2e15bde
# Parent 0884e0a5ecc33afac8d60ea09652cf436d1a33ce
Fix domctl GCC dependency
Compilers other than GCC don't allow zero-sized structs.
Signed-off-by: John Levon <john.levon@xxxxxxx>
---
xen/include/public/domctl.h | 5 ++++-
1 files changed, 4 insertions(+), 1 deletion(-)
diff -r 0884e0a5ecc3 -r dad243d08849 xen/include/public/domctl.h
--- a/xen/include/public/domctl.h Wed Dec 12 09:53:00 2007 +0000
+++ b/xen/include/public/domctl.h Wed Dec 12 09:54:21 2007 +0000
@@ -544,8 +544,11 @@ 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;
+#else
+ /* Make struct non-empty: do not depend on this field name! */
+ uint64_t dummy;
#endif
};
typedef struct xen_domctl_set_opt_feature xen_domctl_set_opt_feature_t;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] Fix domctl GCC dependency,
Xen patchbot-unstable <=
|
|
|
|
|