On Friday 21 October 2011 23:42:55 Luck, Tony wrote: > Callers to __acpi_ioremap_fast() pass the bit_width that they found in the > acpi_generic_address structure. Convert from bits to bytes when passing to > __acpi_find_iomap() - as it wants to see bytes, not bits. > > Signed-off-by: Tony Luck <tony.luck@xxxxxxxxx> This one should get: CC: stable@xxxxxxxxxx added. Thomas > --- > 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 252888f..70ffb71 100644 > --- a/drivers/acpi/atomicio.c > +++ b/drivers/acpi/atomicio.c > @@ -78,7 +78,7 @@ static void __iomem *__acpi_ioremap_fast(phys_addr_t paddr, > { > struct acpi_iomap *map; > > - map = __acpi_find_iomap(paddr, size); > + map = __acpi_find_iomap(paddr, size/8); > if (map) > return map->vaddr + (paddr - map->paddr); > else > -- > 1.7.3.1 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-acpi" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html