summaryrefslogtreecommitdiff
path: root/src/mainboard/emulation
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/emulation')
-rw-r--r--src/mainboard/emulation/qemu-q35/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/emulation/qemu-q35/cpu.c b/src/mainboard/emulation/qemu-q35/cpu.c
index 2a2707a55f..698cd9c92a 100644
--- a/src/mainboard/emulation/qemu-q35/cpu.c
+++ b/src/mainboard/emulation/qemu-q35/cpu.c
@@ -34,7 +34,7 @@ static void get_smm_info(uintptr_t *perm_smbase, size_t *perm_smsize,
* SMRAM entry point to here.
*/
-__packed union save_state {
+union __packed save_state {
amd64_smm_state_save_area_t amd64;
struct {
char _reserved[sizeof(amd64_smm_state_save_area_t)