From: Keir Fraser Date: Fri, 8 Jan 2010 11:56:04 +0000 (+0000) Subject: xen: Fix compat_ioctl.h build. X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=70c8adce725d0c73d7ffb121b3272e9169dcf4ee;p=legacy%2Flinux-2.6.18-xen.git xen: Fix compat_ioctl.h build. Signed-off-by: Keir Fraser --- diff --git a/include/xen/compat_ioctl.h b/include/xen/compat_ioctl.h index 16f6d93c..181ba285 100644 --- a/include/xen/compat_ioctl.h +++ b/include/xen/compat_ioctl.h @@ -41,7 +41,7 @@ struct privcmd_mmapbatch_32 { domid_t dom; /* target domain */ #if defined(CONFIG_X86) || defined(CONFIG_IA64) union { /* virtual address */ - __u64 addr __packed; + __u64 addr __attribute__((packed)); __u32 va; /* ensures union is 4-byte aligned */ }; #else