summaryrefslogtreecommitdiffstats
path: root/arch/ia64/include/asm/pci.h
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw@amazon.co.uk>2017-04-07 12:10:53 +0200
committerBjorn Helgaas <bhelgaas@google.com>2017-04-20 15:47:47 +0200
commitd9c102de2caa733c3e718e1b032cd154a9994326 (patch)
tree1bb107b65a670837b4beed31323cdd570078fbda /arch/ia64/include/asm/pci.h
parentia64: Remove redundant checks for WC in pci_mmap_page_range() (diff)
downloadlinux-d9c102de2caa733c3e718e1b032cd154a9994326.tar.xz
linux-d9c102de2caa733c3e718e1b032cd154a9994326.zip
ia64: Use generic pci_mmap_resource_range()
Now that we eliminated the different behaviour in separately-reviewable commits, we can switch IA64 to the generic implementation. Signed-off-by: David Woodhouse <dwmw@amazon.co.uk> Tested-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/include/asm/pci.h')
-rw-r--r--arch/ia64/include/asm/pci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ia64/include/asm/pci.h b/arch/ia64/include/asm/pci.h
index fc60b3d139f4..6459f2d46200 100644
--- a/arch/ia64/include/asm/pci.h
+++ b/arch/ia64/include/asm/pci.h
@@ -51,6 +51,7 @@ extern unsigned long ia64_max_iommu_merge_mask;
#define PCI_DMA_BUS_IS_PHYS (ia64_max_iommu_merge_mask == ~0UL)
#define HAVE_PCI_MMAP
+#define ARCH_GENERIC_PCI_MMAP_RESOURCE
#define arch_can_pci_mmap_wc() 1
#define HAVE_PCI_LEGACY