diff options
author | Paul Mackerras <paulus@samba.org> | 2007-05-09 21:47:15 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-05-10 21:28:13 +1000 |
commit | 31e92e0a1f40ecbef415cd99dc886b14963dc594 (patch) | |
tree | 320a7a0cd390c75d5f23100366acef0790af47c9 /include/linux/pmu.h | |
parent | 4cc81aac8bd2022d5365ad23b7ce6406676e0aa8 (diff) |
[POWERPC] Fix incorrect calculation of I/O window addresses
My patch "Cope with PCI host bridge I/O window not starting at 0"
introduced a bug in the calculation of the virtual addresses for the
I/O windows of PCI host bridges other than the first, because it
didn't account for the fact that hose->io_resource gets offset so that
it reflects the range of global I/O port numbers assigned to the
bridge. This fixes it and simplifies get_bus_io_range() in the
process.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/linux/pmu.h')
0 files changed, 0 insertions, 0 deletions