diff options
author | Myron Stowe <[email protected]> | 2010-10-21 14:23:48 -0600 |
---|---|---|
committer | Len Brown <[email protected]> | 2010-10-24 23:24:54 -0400 |
commit | b3ba1efec2a58f4dc0647f4c0099c27d6ab92595 (patch) | |
tree | e2bf00b49397490010cd1adca34c89cdb27961da /tools/perf/util/trace-event-scripting.c | |
parent | f6f94e2ab1b33f0082ac22d71f66385a60d8157f (diff) |
ACPI: Fix ioremap size for MMIO reads and writes
The size used for I/O remapping MMIO read and write accesses has not
accounted for the basis of ACPI's Generic Address Structure (GAS)
'Register Bit Width' field which is bits, not bytes. This patch
adjusts the ioremap() 'size' argument accordingly.
ACPI "Generic Register" reference:
ACPI Specification, Revision 4.0, Section 5.2.3.1, "Generic Address
Structure".
Signed-off-by: Myron Stowe <[email protected]>
Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions