diff options
author | Lin Ming <ming.m.lin@intel.com> | 2008-12-16 04:08:57 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-12-31 01:12:41 -0500 |
commit | 385c4d98d851bc94ad4f351fe25fe49b70b9cf78 (patch) | |
tree | b1e69f466838549639da5f269a8a073a9d7e7eed /arch/ia64/sn | |
parent | a8ce4471fe74cf749bcfef7e557a7b94f725c494 (diff) |
ACPI: io_common.c: call acpi_get_table to avoid using ACPI_SIG_DSDT
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>
Diffstat (limited to 'arch/ia64/sn')
-rw-r--r-- | arch/ia64/sn/kernel/io_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ia64/sn/kernel/io_common.c b/arch/ia64/sn/kernel/io_common.c index 8a924a5661d..e1917ede0d6 100644 --- a/arch/ia64/sn/kernel/io_common.c +++ b/arch/ia64/sn/kernel/io_common.c | |||
@@ -473,7 +473,7 @@ sn_io_early_init(void) | |||
473 | { | 473 | { |
474 | struct acpi_table_header *header = NULL; | 474 | struct acpi_table_header *header = NULL; |
475 | 475 | ||
476 | acpi_get_table_by_index(ACPI_TABLE_INDEX_DSDT, &header); | 476 | acpi_get_table(ACPI_SIG_DSDT, 1, &header); |
477 | BUG_ON(header == NULL); | 477 | BUG_ON(header == NULL); |
478 | sn_acpi_rev = header->oem_revision; | 478 | sn_acpi_rev = header->oem_revision; |
479 | } | 479 | } |
@@ -505,7 +505,7 @@ sn_io_early_init(void) | |||
505 | 505 | ||
506 | { | 506 | { |
507 | struct acpi_table_header *header; | 507 | struct acpi_table_header *header; |
508 | (void)acpi_get_table_by_index(ACPI_TABLE_INDEX_DSDT, &header); | 508 | (void)acpi_get_table(ACPI_SIG_DSDT, 1, &header); |
509 | printk(KERN_INFO "ACPI DSDT OEM Rev 0x%x\n", | 509 | printk(KERN_INFO "ACPI DSDT OEM Rev 0x%x\n", |
510 | header->oem_revision); | 510 | header->oem_revision); |
511 | } | 511 | } |