diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2023-08-26 17:04:21 +0200 |
---|---|---|
committer | Elyes Haouas <ehaouas@noos.fr> | 2023-08-27 07:14:47 +0000 |
commit | 139cb06b773d54890c76106b95ae579c2c718415 (patch) | |
tree | 8d9c393eedfc9f24e4c078ea31ba7656ce795035 /src | |
parent | 3d7a5bdf58e047575c085d1e919279de59cbbfa7 (diff) |
acpi/acpi.h: Use __packed over __attribute__((packed))
Change-Id: Iabbb637c797a361a2cbc55505002774ff4f774e1
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77526
Reviewed-by: Martin L Roth <gaumless@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/include/acpi/acpi.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/acpi/acpi.h b/src/include/acpi/acpi.h index 76518637f7..33bd735c57 100644 --- a/src/include/acpi/acpi.h +++ b/src/include/acpi/acpi.h @@ -854,7 +854,7 @@ typedef struct acpi_dbg2_header { acpi_header_t header; uint32_t devices_offset; uint32_t devices_count; -} __attribute__((packed)) acpi_dbg2_header_t; +} __packed acpi_dbg2_header_t; /* DBG2: Microsoft Debug Port Table 2 device entry */ typedef struct acpi_dbg2_device { @@ -870,7 +870,7 @@ typedef struct acpi_dbg2_device { uint8_t reserved[2]; uint16_t base_address_offset; uint16_t address_size_offset; -} __attribute__((packed)) acpi_dbg2_device_t; +} __packed acpi_dbg2_device_t; /* FADT (Fixed ACPI Description Table) */ typedef struct acpi_fadt { |