diff options
author | Dan Williams <dan.j.williams@intel.com> | 2021-10-29 21:51:32 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2021-11-15 20:02:59 +0100 |
commit | f64bd790b750dd281406964af40d16adfc88a074 (patch) | |
tree | 486d3003b8c9265179d9143304ee5fb922ab8c9d /mm/cma.h | |
parent | tools/testing/cxl: add mock output for the GET_HEALTH_INFO command (diff) | |
download | linux-f64bd790b750dd281406964af40d16adfc88a074.tar.xz linux-f64bd790b750dd281406964af40d16adfc88a074.zip |
ACPI: Keep sub-table parsing infrastructure available for modules
The NFIT driver and now the CXL ACPI driver have both open-coded ACPI
table parsing. Before another instance is added arrange for the core
ACPI sub-table parsing to be optionally available to drivers via the
CONFIG_ACPI_TABLE_LIB symbol. If no drivers select the symbol then the
infrastructure reverts back to being tagged __init via the
__init_or_acpilib annotation.
For now, only tag the core sub-table routines and data that the CEDT parsing in
the cxl_acpi driver would want to reuse, a CEDT parsing helper is added
in a later change.
Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Cc: Len Brown <lenb@kernel.org>
Cc: Alison Schofield <alison.schofield@intel.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://lore.kernel.org/r/163553709227.2509508.8215196520233473814.stgit@dwillia2-desk3.amr.corp.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'mm/cma.h')
0 files changed, 0 insertions, 0 deletions