aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2007-02-02 11:48:21 -0500
committerLen Brown <len.brown@intel.com>2007-02-02 21:14:26 -0500
commit310a7f7fee489b7dadd27b0d8487bd0ce66281e7 (patch)
tree357ee2efcc90be658945ee3166344a1bf530506f
parentd8c71b6d3b21cf21ad775e1cf6da95bf87bd5ad4 (diff)
ACPICA: Use faster ByIndex interface to get FACS
Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
-rw-r--r--drivers/acpi/events/evmisc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/events/evmisc.c b/drivers/acpi/events/evmisc.c
index 3bacede53503..545f934d7817 100644
--- a/drivers/acpi/events/evmisc.c
+++ b/drivers/acpi/events/evmisc.c
@@ -347,8 +347,8 @@ acpi_status acpi_ev_init_global_lock_handler(void)
347 ACPI_FUNCTION_TRACE(ev_init_global_lock_handler); 347 ACPI_FUNCTION_TRACE(ev_init_global_lock_handler);
348 348
349 status = 349 status =
350 acpi_get_table(ACPI_SIG_FACS, 0, 350 acpi_get_table_by_index(ACPI_TABLE_INDEX_FACS,
351 (struct acpi_table_header **)&facs); 351 (struct acpi_table_header **)&facs);
352 if (ACPI_FAILURE(status)) { 352 if (ACPI_FAILURE(status)) {
353 return_ACPI_STATUS(status); 353 return_ACPI_STATUS(status);
354 } 354 }