Message ID | 1314564200-6872-5-git-send-email-weil@mail.berlios.de |
---|---|
State | Superseded |
Headers | show |
diff --git a/hw/hpet_emul.h b/hw/hpet_emul.h index 8bf312a..6128702 100644 --- a/hw/hpet_emul.h +++ b/hw/hpet_emul.h @@ -59,13 +59,13 @@ struct hpet_fw_entry uint64_t address; uint16_t min_tick; uint8_t page_prot; -} __attribute__ ((packed)); +} QEMU_PACKED; struct hpet_fw_config { uint8_t count; struct hpet_fw_entry hpet[8]; -} __attribute__ ((packed)); +} QEMU_PACKED; extern struct hpet_fw_config hpet_cfg; #endif
Use QEMU_PACKED to eliminate the effects of compiler option -mms-bitfields. Cc: Alexander Graf <agraf@suse.de> Signed-off-by: Stefan Weil <weil@mail.berlios.de> --- hw/hpet_emul.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)