]> git.baikalelectronics.ru Git - kernel.git/commit
dma-mapping: drop the dev argument to arch_sync_dma_for_*
authorChristoph Hellwig <hch@lst.de>
Thu, 7 Nov 2019 17:03:11 +0000 (18:03 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Apr 2023 09:16:43 +0000 (11:16 +0200)
commit01a50db7f1112ce9d88eda9ef081c08521815209
treeba51d0600ec136810e444462d3e5c52d8952f031
parente4e346d21b18a69de3eca4bf9e8a33d7ab5f79be
dma-mapping: drop the dev argument to arch_sync_dma_for_*

[ Upstream commit 80815ba25e85ad5b836009570fd60276563ce7d8 ]

These are pure cache maintainance routines, so drop the unused
struct device argument.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Suggested-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Stable-dep-of: ab327f8acdf8 ("mips: bmips: BCM6358: disable RAC flush for TP1")
Signed-off-by: Sasha Levin <sashal@kernel.org>
26 files changed:
arch/arc/mm/dma.c
arch/arm/mm/dma-mapping.c
arch/arm/xen/mm.c
arch/arm64/mm/dma-mapping.c
arch/c6x/mm/dma-coherent.c
arch/csky/mm/dma-mapping.c
arch/hexagon/kernel/dma.c
arch/ia64/mm/init.c
arch/m68k/kernel/dma.c
arch/microblaze/kernel/dma.c
arch/mips/bmips/dma.c
arch/mips/jazz/jazzdma.c
arch/mips/mm/dma-noncoherent.c
arch/nds32/kernel/dma.c
arch/nios2/mm/dma-mapping.c
arch/openrisc/kernel/dma.c
arch/parisc/kernel/pci-dma.c
arch/powerpc/mm/dma-noncoherent.c
arch/sh/kernel/dma-coherent.c
arch/sparc/kernel/ioport.c
arch/xtensa/kernel/pci-dma.c
drivers/iommu/dma-iommu.c
drivers/xen/swiotlb-xen.c
include/linux/dma-noncoherent.h
include/xen/swiotlb-xen.h
kernel/dma/direct.c