mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-24 14:33:38 +00:00
dm: fix compilation issue with gcc10
Fix compilation issue when using gcc 10.x due to the "__packed" attribute in acpi.h. Explicitly changing that to __attribute__((packed)) fixes the compilation error. Tracked-On: #5671 Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
This commit is contained in:
parent
5437c2e47a
commit
fb78029f0a
@ -58,7 +58,7 @@ struct acpi_table_hdr {
|
||||
char asl_compiler_id[4];
|
||||
/* ASL compiler version */
|
||||
uint32_t asl_compiler_revision;
|
||||
} __packed;
|
||||
} __attribute__((packed));
|
||||
|
||||
/* All dynamic table entry no. */
|
||||
#define NHLT_ENTRY_NO 8
|
||||
|
Loading…
Reference in New Issue
Block a user