]> git.karo-electronics.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Nov 2011 17:44:42 +0000 (09:44 -0800)
commit97a83dd85386b78ca2e6e14442fece6a45eabdd2
treed06c4167315c1582b6daca8fafc92e0d7b7f07e9
parent3493ce844f598f2b732a7e831afb6b1d5be4296f
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