summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/acpi/acpica/evxfevnt.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/acpi/acpica/evxfevnt.c')
-rw-r--r--kernel/drivers/acpi/acpica/evxfevnt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/acpi/acpica/evxfevnt.c b/kernel/drivers/acpi/acpica/evxfevnt.c
index faad911d4..10ce48e16 100644
--- a/kernel/drivers/acpi/acpica/evxfevnt.c
+++ b/kernel/drivers/acpi/acpica/evxfevnt.c
@@ -71,7 +71,7 @@ acpi_status acpi_enable(void)
/* ACPI tables must be present */
- if (!acpi_tb_tables_loaded()) {
+ if (acpi_gbl_fadt_index == ACPI_INVALID_TABLE_INDEX) {
return_ACPI_STATUS(AE_NO_ACPI_TABLES);
}