Skip to content

Commit

Permalink
ACPI: tables: Fix the stale comments for acpi_locate_initial_tables()
Browse files Browse the repository at this point in the history
sdt_entry[] is long gone by commit ceb6c46 ("ACPICA: Remove
duplicate table manager"), update the comments to avoid confusion.

Signed-off-by: Hanjun Guo <guohanjun@huawei.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
  • Loading branch information
Hanjun Guo authored and Rafael J. Wysocki committed Nov 10, 2022
1 parent 4125d10 commit 062c0e3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions drivers/acpi/tables.c
Original file line number Diff line number Diff line change
Expand Up @@ -848,12 +848,11 @@ acpi_status acpi_os_table_override(struct acpi_table_header *existing_table,
/*
* acpi_locate_initial_tables()
*
* find RSDP, find and checksum SDT/XSDT.
* checksum all tables, print SDT/XSDT
* Get the RSDP, then find and checksum all the ACPI tables.
*
* result: sdt_entry[] is initialized
* result: initial_tables[] is initialized, and points to
* a list of ACPI tables.
*/

int __init acpi_locate_initial_tables(void)
{
acpi_status status;
Expand Down

0 comments on commit 062c0e3

Please sign in to comment.