dma-mapping: split <linux/dma-mapping.h>
authorChristoph Hellwig <hch@lst.de>
Tue, 22 Sep 2020 13:31:03 +0000 (15:31 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 6 Oct 2020 05:07:03 +0000 (07:07 +0200)
commit0a0f0d8be76dcd4390ff538e7060fda34db79717
treeaed0f5d05ab17e47b0dc39eb464309dadc5f3bdd
parent0de327969b61a245e3a47b60009eae73fe513cef
dma-mapping: split <linux/dma-mapping.h>

Split out all the bits that are purely for dma_map_ops implementations
and related code into a new <linux/dma-map-ops.h> header so that they
don't get pulled into all the drivers.  That also means the architecture
specific <asm/dma-mapping.h> is not pulled in by <linux/dma-mapping.h>
any more, which leads to a missing includes that were pulled in by the
x86 or arm versions in a few not overly portable drivers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
64 files changed:
MAINTAINERS
arch/alpha/kernel/pci_iommu.c
arch/arc/mm/dma.c
arch/arm/common/dmabounce.c
arch/arm/mach-highbank/highbank.c
arch/arm/mach-imx/mach-imx27_visstrim_m10.c
arch/arm/mach-imx/mach-mx31moboard.c
arch/arm/mach-mvebu/coherency.c
arch/arm/mm/dma-mapping-nommu.c
arch/arm/mm/dma-mapping.c
arch/arm64/mm/dma-mapping.c
arch/ia64/hp/common/sba_iommu.c
arch/ia64/kernel/dma-mapping.c
arch/mips/jazz/jazzdma.c
arch/mips/mm/dma-noncoherent.c
arch/parisc/kernel/drivers.c
arch/powerpc/include/asm/iommu.h
arch/powerpc/include/asm/pci.h
arch/powerpc/platforms/ps3/system-bus.c
arch/powerpc/platforms/pseries/ibmebus.c
arch/powerpc/platforms/pseries/vio.c
arch/s390/pci/pci_dma.c
arch/sh/boards/mach-ap325rxa/setup.c
arch/sh/boards/mach-ecovec24/setup.c
arch/sh/boards/mach-kfr2r09/setup.c
arch/sh/boards/mach-migor/setup.c
arch/sh/boards/mach-se/7724/setup.c
arch/sh/drivers/pci/fixups-dreamcast.c
arch/sparc/kernel/iommu.c
arch/sparc/kernel/pci_sun4v.c
arch/sparc/mm/io-unit.c
arch/sparc/mm/iommu.c
arch/x86/kernel/amd_gart_64.c
arch/x86/kernel/pci-dma.c
arch/x86/kernel/setup.c
arch/x86/xen/pci-swiotlb-xen.c
drivers/acpi/arm64/iort.c
drivers/acpi/scan.c
drivers/base/dd.c
drivers/gpu/drm/exynos/exynos_drm_dma.c
drivers/gpu/drm/msm/msm_gem.c
drivers/iommu/dma-iommu.c
drivers/iommu/intel/iommu.c
drivers/misc/mic/bus/mic_bus.c
drivers/misc/mic/bus/scif_bus.c
drivers/misc/mic/bus/scif_bus.h
drivers/misc/mic/bus/vop_bus.c
drivers/misc/mic/host/mic_boot.c
drivers/of/device.c
drivers/parisc/ccio-dma.c
drivers/parisc/sba_iommu.c
drivers/pci/xen-pcifront.c
drivers/remoteproc/remoteproc_core.c
drivers/remoteproc/remoteproc_virtio.c
drivers/vdpa/vdpa_sim/vdpa_sim.c
drivers/xen/swiotlb-xen.c
include/linux/dma-map-ops.h [new file with mode: 0644]
include/linux/dma-mapping.h
kernel/dma/coherent.c
kernel/dma/direct.c
kernel/dma/dummy.c
kernel/dma/mapping.c
kernel/dma/ops_helpers.c
kernel/dma/virt.c