]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ACPI atomicio: Convert width in bits to bytes in __acpi_ioremap_fast()
authorLuck, Tony <tony.luck@intel.com>
Fri, 21 Oct 2011 21:42:55 +0000 (14:42 -0700)
committerLen Brown <len.brown@intel.com>
Mon, 7 Nov 2011 01:30:23 +0000 (20:30 -0500)
commit3bf3f8b19d2bfccc40f13c456bf339fd8f535ebc
tree08685f87741ef4460c648ca2adea4b1623cc8ca8
parentc3b92c8787367a8bb53d57d9789b558f1295cc96
ACPI atomicio: Convert width in bits to bytes in __acpi_ioremap_fast()

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.

cc: stable@kernel.org
Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/atomicio.c