===================================================================
@@ -631,11 +631,11 @@ static int acpi_pci_root_remove(struct a
static int __init acpi_pci_root_init(void)
{
+ acpi_hest_init();
+
if (acpi_pci_disabled)
return 0;
- acpi_hest_init();
-
pci_acpi_crs_quirks();
if (acpi_bus_register_driver(&acpi_pci_root_driver) < 0)
return -ENODEV;
===================================================================
@@ -201,8 +201,10 @@ void __init acpi_hest_init(void)
int rc = -ENODEV;
unsigned int ghes_count = 0;
- if (acpi_disabled)
+ if (acpi_disabled) {
+ hest_disable = 1;
return;
+ }
if (hest_disable) {
pr_info(HEST_PFX "Table parsing disabled.\n");