diff options
Diffstat (limited to 'linux-headers/include/xen/gntalloc.h')
-rw-r--r-- | linux-headers/include/xen/gntalloc.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/linux-headers/include/xen/gntalloc.h b/linux-headers/include/xen/gntalloc.h index 48d2790..3109282 100644 --- a/linux-headers/include/xen/gntalloc.h +++ b/linux-headers/include/xen/gntalloc.h @@ -31,7 +31,10 @@ struct ioctl_gntalloc_alloc_gref { __u64 index; /* The grant references of the newly created grant, one per page */ /* Variable size, depending on count */ - __u32 gref_ids[1]; + union { + __u32 gref_ids[1]; + __DECLARE_FLEX_ARRAY(__u32, gref_ids_flex); + }; }; #define GNTALLOC_FLAG_WRITABLE 1 |