diff mbox

ACPI: don't attempt to use hest_tab unless !acpi_pci_disabled

Message ID 20110114235437.669f820d@queued.net (mailing list archive)
State New, archived
Headers show

Commit Message

Andres Salomon Jan. 15, 2011, 7:54 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/acpi/apei/hest.c b/drivers/acpi/apei/hest.c
index 4ee58e7..7262eaf 100644
--- a/drivers/acpi/apei/hest.c
+++ b/drivers/acpi/apei/hest.c
@@ -89,7 +89,7 @@  int apei_hest_parse(apei_hest_func_t func, void *data)
 	struct acpi_hest_header *hest_hdr;
 	int i, rc, len;
 
-	if (hest_disable)
+	if (hest_disable || acpi_disabled)
 		return -EINVAL;
 
 	hest_hdr = (struct acpi_hest_header *)(hest_tab + 1);