summaryrefslogtreecommitdiffstats
path: root/include/linux/acpi.h
diff options
context:
space:
mode:
authorKeith Busch <keith.busch@intel.com>2019-03-11 16:55:58 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-04-04 12:41:20 -0400
commit3bc0e8eb179deebf1c06f5c4261d362c24b26ce1 (patch)
tree6c166a1a442195145ae5a7cb3b7071941800a9d5 /include/linux/acpi.h
parent60574d1e05b094d222162260dd9cac49f4d0996a (diff)
acpi: Add HMAT to generic parsing tables
The Heterogeneous Memory Attribute Table (HMAT) header has different field lengths than the existing parsing uses. Add the HMAT type to the parsing rules so it may be generically parsed. Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Tested-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Keith Busch <keith.busch@intel.com> Tested-by: Brice Goglin <Brice.Goglin@inria.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/acpi.h')
-rw-r--r--include/linux/acpi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h
index 9494d42bf507..7c7515b0767e 100644
--- a/include/linux/acpi.h
+++ b/include/linux/acpi.h
@@ -143,6 +143,7 @@ enum acpi_address_range_id {
143/* Table Handlers */ 143/* Table Handlers */
144union acpi_subtable_headers { 144union acpi_subtable_headers {
145 struct acpi_subtable_header common; 145 struct acpi_subtable_header common;
146 struct acpi_hmat_structure hmat;
146}; 147};
147 148
148typedef int (*acpi_tbl_table_handler)(struct acpi_table_header *table); 149typedef int (*acpi_tbl_table_handler)(struct acpi_table_header *table);