]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/acpi.c
Use new macro QEMU_PACKED for packed structures
[mirror_qemu.git] / hw / acpi.c
index d04b965977571b941337d084d562f3b2ce99b6a5..1cf35e116abacccc0082ead37b307e8240618a0c 100644 (file)
--- a/hw/acpi.c
+++ b/hw/acpi.c
@@ -32,7 +32,7 @@ struct acpi_table_header {
     uint32_t oem_revision;    /* OEM revision number */
     char asl_compiler_id[4];  /* ASL compiler vendor ID */
     uint32_t asl_compiler_revision; /* ASL compiler revision number */
-} __attribute__((packed));
+} QEMU_PACKED;
 
 #define ACPI_TABLE_HDR_SIZE sizeof(struct acpi_table_header)
 #define ACPI_TABLE_PFX_SIZE sizeof(uint16_t)  /* size of the extra prefix */