diff options
Diffstat (limited to 'drivers/acpi/apei/hest.c')
-rw-r--r-- | drivers/acpi/apei/hest.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/apei/hest.c b/drivers/acpi/apei/hest.c index 4ee58e72b730..abda3786a5d7 100644 --- a/drivers/acpi/apei/hest.c +++ b/drivers/acpi/apei/hest.c | |||
@@ -201,14 +201,14 @@ void __init acpi_hest_init(void) | |||
201 | int rc = -ENODEV; | 201 | int rc = -ENODEV; |
202 | unsigned int ghes_count = 0; | 202 | unsigned int ghes_count = 0; |
203 | 203 | ||
204 | if (acpi_disabled) | ||
205 | return; | ||
206 | |||
207 | if (hest_disable) { | 204 | if (hest_disable) { |
208 | pr_info(HEST_PFX "Table parsing disabled.\n"); | 205 | pr_info(HEST_PFX "Table parsing disabled.\n"); |
209 | return; | 206 | return; |
210 | } | 207 | } |
211 | 208 | ||
209 | if (acpi_disabled) | ||
210 | goto err; | ||
211 | |||
212 | status = acpi_get_table(ACPI_SIG_HEST, 0, | 212 | status = acpi_get_table(ACPI_SIG_HEST, 0, |
213 | (struct acpi_table_header **)&hest_tab); | 213 | (struct acpi_table_header **)&hest_tab); |
214 | if (status == AE_NOT_FOUND) { | 214 | if (status == AE_NOT_FOUND) { |