aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-03-07 10:40:02 -0600
committerBjorn Helgaas <bhelgaas@google.com>2016-03-07 10:40:02 -0600
commitbc4b024a8b8bd7dceb2697299aad2bda57d065e0 (patch)
tree50eb9449ba9ea1d44873079b39a6b9ec65e7680c /arch/ia64
parentfrv/PCI: Remove stray pci_{alloc,free}_consistent() declaration (diff)
downloadlinux-dev-bc4b024a8b8bd7dceb2697299aad2bda57d065e0.tar.xz
linux-dev-bc4b024a8b8bd7dceb2697299aad2bda57d065e0.zip
PCI: Move pci_dma_* helpers to common code
For a long time all architectures implement the pci_dma_* functions using the generic DMA API, and they all use the same header to do so. Move this header, pci-dma-compat.h, to include/linux and include it from the generic pci.h instead of having each arch duplicate this include. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch/ia64')
-rw-r--r--arch/ia64/include/asm/pci.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/ia64/include/asm/pci.h b/arch/ia64/include/asm/pci.h
index 07039d168f37..c0835b0dc722 100644
--- a/arch/ia64/include/asm/pci.h
+++ b/arch/ia64/include/asm/pci.h
@@ -50,8 +50,6 @@ struct pci_dev;
extern unsigned long ia64_max_iommu_merge_mask;
#define PCI_DMA_BUS_IS_PHYS (ia64_max_iommu_merge_mask == ~0UL)
-#include <asm-generic/pci-dma-compat.h>
-
#define HAVE_PCI_MMAP
extern int pci_mmap_page_range (struct pci_dev *dev, struct vm_area_struct *vma,
enum pci_mmap_state mmap_state, int write_combine);