|
@@ -201,14 +201,14 @@ void __init acpi_hest_init(void)
|
|
int rc = -ENODEV;
|
|
int rc = -ENODEV;
|
|
unsigned int ghes_count = 0;
|
|
unsigned int ghes_count = 0;
|
|
|
|
|
|
- if (acpi_disabled)
|
|
|
|
- return;
|
|
|
|
-
|
|
|
|
if (hest_disable) {
|
|
if (hest_disable) {
|
|
pr_info(HEST_PFX "Table parsing disabled.\n");
|
|
pr_info(HEST_PFX "Table parsing disabled.\n");
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ if (acpi_disabled)
|
|
|
|
+ goto err;
|
|
|
|
+
|
|
status = acpi_get_table(ACPI_SIG_HEST, 0,
|
|
status = acpi_get_table(ACPI_SIG_HEST, 0,
|
|
(struct acpi_table_header **)&hest_tab);
|
|
(struct acpi_table_header **)&hest_tab);
|
|
if (status == AE_NOT_FOUND) {
|
|
if (status == AE_NOT_FOUND) {
|