Skip to content

Commit

Permalink
Merge tag 'acpi-5.12-rc8' of git://git.kernel.org/pub/scm/linux/kerne…
Browse files Browse the repository at this point in the history
…l/git/rafael/linux-pm

Pull ACPI fix from Rafael Wysocki:
 "Restore the initrd-based ACPI table override functionality broken by
  one of the recent fixes"

* tag 'acpi-5.12-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
  ACPI: x86: Call acpi_boot_table_init() after acpi_table_upgrade()
  • Loading branch information
Linus Torvalds committed Apr 15, 2021
2 parents 33f0d9d + 6998a88 commit 7e25f40
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions arch/x86/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -1045,9 +1045,6 @@ void __init setup_arch(char **cmdline_p)

cleanup_highmap();

/* Look for ACPI tables and reserve memory occupied by them. */
acpi_boot_table_init();

memblock_set_current_limit(ISA_END_ADDRESS);
e820__memblock_setup();

Expand Down Expand Up @@ -1132,6 +1129,8 @@ void __init setup_arch(char **cmdline_p)
reserve_initrd();

acpi_table_upgrade();
/* Look for ACPI tables and reserve memory occupied by them. */
acpi_boot_table_init();

vsmp_init();

Expand Down

0 comments on commit 7e25f40

Please sign in to comment.