diff options
Diffstat (limited to 'drivers/acpi/atomicio.c')
-rw-r--r-- | drivers/acpi/atomicio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/atomicio.c b/drivers/acpi/atomicio.c index 04ae1c88c03c..cfc0cc10af39 100644 --- a/drivers/acpi/atomicio.c +++ b/drivers/acpi/atomicio.c | |||
@@ -76,7 +76,7 @@ static void __iomem *__acpi_ioremap_fast(phys_addr_t paddr, | |||
76 | { | 76 | { |
77 | struct acpi_iomap *map; | 77 | struct acpi_iomap *map; |
78 | 78 | ||
79 | map = __acpi_find_iomap(paddr, size); | 79 | map = __acpi_find_iomap(paddr, size/8); |
80 | if (map) | 80 | if (map) |
81 | return map->vaddr + (paddr - map->paddr); | 81 | return map->vaddr + (paddr - map->paddr); |
82 | else | 82 | else |