]> www.infradead.org Git - users/jedix/linux-maple.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)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Thu, 8 Dec 2011 19:18:15 +0000 (11:18 -0800)
commit9d106e9fa1c29df7cfb944e711d1e30ba67ab4b7
tree0fb441f484a250999f3facae8a6e99ace31887a7
parent11f072ac74bd59b4c31ff8e9d5ec67c56f8511be
ACPI atomicio: Convert width in bits to bytes in __acpi_ioremap_fast()

commit 3bf3f8b19d2bfccc40f13c456bf339fd8f535ebc upstream.

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@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/acpi/atomicio.c