From 5833942db741bb321a8557511969c04481086c81 Mon Sep 17 00:00:00 2001 From: Tony Luck Date: Fri, 25 Apr 2025 21:26:44 +0200 Subject: [PATCH] ACPICA: infrastructure: Add new DMT_BUF types and shorten a long name ACPICA commit b8713f71b4023a0396fe61503bbbf5226e5eed1b Some ERDT subtables have 11 and 24 byte reserved fields. Add the ACPI_DMT_BUF11 and ACPI_DMT_BUF24 types to describe these reserved fields in struct acpi_dmtable_info structures. Shorten the ACPI_SUBTABLE_HEADER_16 name to ACPI_SUBTBL_HDR Link: https://github.com/acpica/acpica/commit/b8713f71 Signed-off-by: Tony Luck Signed-off-by: Rafael J. Wysocki Link: https://patch.msgid.link/3643286.iIbC2pHGDl@rjwysocki.net --- include/acpi/actbl1.h | 2 +- include/acpi/actbl2.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/acpi/actbl1.h b/include/acpi/actbl1.h index b403b0b60bf6..6d2cc181e3a4 100644 --- a/include/acpi/actbl1.h +++ b/include/acpi/actbl1.h @@ -157,7 +157,7 @@ struct acpi_aspt_acpi_mbox_regs { /* Larger subtable header (when Length can exceed 255) */ -struct acpi_subtable_header_16 { +struct acpi_subtbl_hdr_16 { u16 type; u16 length; }; diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h index 274b3b85b6d7..2c07b097ef9f 100644 --- a/include/acpi/actbl2.h +++ b/include/acpi/actbl2.h @@ -1764,7 +1764,7 @@ struct acpi_table_mrrm { ******************************************************************************/ struct acpi_mrrm_mem_range_entry { - struct acpi_subtable_header_16 header; + struct acpi_subtbl_hdr_16 header; u32 reserved0; /* Reserved */ u64 addr_base; /* Base addr of the mem range */ u64 addr_len; /* Length of the mem range */ -- 2.25.1