PCI: Move pci_dma_* helpers to common code
authorChristoph Hellwig <hch@lst.de>
Mon, 7 Mar 2016 16:40:02 +0000 (10:40 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 7 Mar 2016 16:40:02 +0000 (10:40 -0600)
commitbc4b024a8b8bd7dceb2697299aad2bda57d065e0
tree50eb9449ba9ea1d44873079b39a6b9ec65e7680c
parent611609bcf778a5f1aa321e632ac6dae50d507096
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>
24 files changed:
arch/alpha/include/asm/pci.h
arch/arm/include/asm/pci.h
arch/arm64/include/asm/pci.h
arch/avr32/include/asm/pci.h
arch/blackfin/include/asm/pci.h
arch/cris/include/asm/pci.h
arch/frv/include/asm/pci.h
arch/ia64/include/asm/pci.h
arch/m68k/include/asm/pci.h
arch/microblaze/include/asm/pci.h
arch/mips/include/asm/pci.h
arch/mn10300/include/asm/pci.h
arch/parisc/include/asm/pci.h
arch/powerpc/include/asm/pci.h
arch/s390/include/asm/pci.h
arch/sh/include/asm/pci.h
arch/sparc/include/asm/pci.h
arch/tile/include/asm/pci.h
arch/unicore32/include/asm/pci.h
arch/x86/include/asm/pci.h
arch/xtensa/include/asm/pci.h
include/asm-generic/pci-dma-compat.h [deleted file]
include/linux/pci-dma-compat.h [new file with mode: 0644]
include/linux/pci.h