diff options
Diffstat (limited to 'drivers/acpi/tables.c')
-rw-r--r-- | drivers/acpi/tables.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/acpi/tables.c b/drivers/acpi/tables.c index 31d4f3ffc265..7f37c7cc5ef1 100644 --- a/drivers/acpi/tables.c +++ b/drivers/acpi/tables.c | |||
@@ -587,7 +587,8 @@ int __init acpi_table_init(void) | |||
587 | return -ENODEV; | 587 | return -ENODEV; |
588 | } | 588 | } |
589 | 589 | ||
590 | rsdp = (struct acpi_table_rsdp *)__va(rsdp_phys); | 590 | rsdp = (struct acpi_table_rsdp *)__acpi_map_table(rsdp_phys, |
591 | sizeof(struct acpi_table_rsdp)); | ||
591 | if (!rsdp) { | 592 | if (!rsdp) { |
592 | printk(KERN_WARNING PREFIX "Unable to map RSDP\n"); | 593 | printk(KERN_WARNING PREFIX "Unable to map RSDP\n"); |
593 | return -ENODEV; | 594 | return -ENODEV; |