]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ACPI: io_common.c: call acpi_get_table to avoid using ACPI_SIG_DSDT
authorLin Ming <ming.m.lin@intel.com>
Tue, 16 Dec 2008 09:08:57 +0000 (17:08 +0800)
committerLen Brown <len.brown@intel.com>
Wed, 31 Dec 2008 06:12:41 +0000 (01:12 -0500)
ACPI_SIG_DSDT is acpica internal used only.
call acpi_get_table to avoid using ACPI_SIG_DSDT.

Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
arch/ia64/sn/kernel/io_common.c

index 8a924a5661ddffff994bb59a74762b9f5bd5555a..e1917ede0d60b04fb0f4eadf72390e9014497bfd 100644 (file)
@@ -473,7 +473,7 @@ sn_io_early_init(void)
        {
                struct acpi_table_header *header = NULL;
 
-               acpi_get_table_by_index(ACPI_TABLE_INDEX_DSDT, &header);
+               acpi_get_table(ACPI_SIG_DSDT, 1, &header);
                BUG_ON(header == NULL);
                sn_acpi_rev = header->oem_revision;
        }
@@ -505,7 +505,7 @@ sn_io_early_init(void)
 
        {
                struct acpi_table_header *header;
-               (void)acpi_get_table_by_index(ACPI_TABLE_INDEX_DSDT, &header);
+               (void)acpi_get_table(ACPI_SIG_DSDT, 1, &header);
                printk(KERN_INFO "ACPI  DSDT OEM Rev 0x%x\n",
                        header->oem_revision);
        }