ACPI atomicio: Convert width in bits to bytes in __acpi_ioremap_fast()
commit1dc88f68f554b318691763867aab4ec7adc60945
authorLuck, Tony <tony.luck@intel.com>
Fri, 21 Oct 2011 21:42:55 +0000 (21 14:42 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Nov 2011 17:37:11 +0000 (11 09:37 -0800)
tree1c6375b2d0b6085d0ffdf451a3dcc03d322ebe05
parenteaeafcd898108e4e026faf43ca41817f5de6ee66
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