]> err.no Git - linux-2.6/commitdiff
ACPICA: Use faster ByIndex interface to get FACS
authorBob Moore <robert.moore@intel.com>
Fri, 2 Feb 2007 16:48:21 +0000 (19:48 +0300)
committerLen Brown <len.brown@intel.com>
Sat, 3 Feb 2007 02:14:26 +0000 (21:14 -0500)
Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/events/evmisc.c

index 3bacede53503fe29ac8f22a1d2f37bfa4a12a91f..545f934d781715f815bc9f838773a6ddea05723f 100644 (file)
@@ -347,8 +347,8 @@ acpi_status acpi_ev_init_global_lock_handler(void)
        ACPI_FUNCTION_TRACE(ev_init_global_lock_handler);
 
        status =
-           acpi_get_table(ACPI_SIG_FACS, 0,
-                          (struct acpi_table_header **)&facs);
+           acpi_get_table_by_index(ACPI_TABLE_INDEX_FACS,
+                                   (struct acpi_table_header **)&facs);
        if (ACPI_FAILURE(status)) {
                return_ACPI_STATUS(status);
        }