diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2016-03-02 16:20:18 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-03-12 06:00:29 -0600 |
commit | f976721e826e06ba1cdfce701495b49e2e25289d (patch) | |
tree | b84029e6f7e7866ef0a2b7a8c35ab4efae2ab48b /.get_maintainer.ignore | |
parent | ab97b8cc560eabfd8139dd97924a09e46a3c9632 (diff) | |
download | lwn-f976721e826e06ba1cdfce701495b49e2e25289d.tar.gz lwn-f976721e826e06ba1cdfce701495b49e2e25289d.zip |
ia64/PCI: Use ioremap() instead of open-coded equivalent
Depositing __IA64_UNCACHED_OFFSET in the upper address bits is essentially
equivalent to ioremap(): it converts a CPU physical address to a virtual
address using the ia64 uncacheable identity map.
Call ioremap() instead of doing the phys-to-virt conversion manually with
__IA64_UNCACHED_OFFSET.
Note that this makes it obvious that (a) we're putting a virtual address in
a struct resource, and (b) we're passing a virtual address to ioremap()
below in the PCI_ROM_RESOURCE case. These are both pre-existing problems
that I'll resolve next.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions