]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
treewide: Move dma_ops from struct dev_archdata into struct device
authorBart Van Assche <bart.vanassche@sandisk.com>
Fri, 20 Jan 2017 21:04:02 +0000 (13:04 -0800)
committerDoug Ledford <dledford@redhat.com>
Tue, 24 Jan 2017 17:23:35 +0000 (12:23 -0500)
commit5657933dbb6e25feaf5d8df8c88f96cdade693a3
treec08ad2e62db7f394abe3dc324d954129c2e2e34f
parent5299709d0a87342dadc1fc9850484fadeb488bf8
treewide: Move dma_ops from struct dev_archdata into struct device

Some but not all architectures provide set_dma_ops(). Move dma_ops
from struct dev_archdata into struct device such that it becomes
possible on all architectures to configure dma_ops per device.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Juergen Gross <jgross@suse.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: linux-arch@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: Russell King <linux@armlinux.org.uk>
Cc: x86@kernel.org
Signed-off-by: Doug Ledford <dledford@redhat.com>
36 files changed:
arch/arm/include/asm/device.h
arch/arm/include/asm/dma-mapping.h
arch/arm64/include/asm/device.h
arch/arm64/include/asm/dma-mapping.h
arch/arm64/mm/dma-mapping.c
arch/m32r/include/asm/device.h
arch/m32r/include/asm/dma-mapping.h
arch/mips/include/asm/device.h
arch/mips/include/asm/dma-mapping.h
arch/mips/pci/pci-octeon.c
arch/powerpc/include/asm/device.h
arch/powerpc/include/asm/dma-mapping.h
arch/powerpc/kernel/dma.c
arch/powerpc/platforms/cell/iommu.c
arch/powerpc/platforms/pasemi/iommu.c
arch/powerpc/platforms/pasemi/setup.c
arch/powerpc/platforms/ps3/system-bus.c
arch/powerpc/platforms/pseries/ibmebus.c
arch/s390/include/asm/device.h
arch/s390/include/asm/dma-mapping.h
arch/s390/pci/pci.c
arch/tile/include/asm/device.h
arch/tile/include/asm/dma-mapping.h
arch/x86/include/asm/device.h
arch/x86/include/asm/dma-mapping.h
arch/x86/kernel/pci-calgary_64.c
arch/x86/pci/common.c
arch/x86/pci/sta2x11-fixup.c
arch/xtensa/include/asm/device.h
arch/xtensa/include/asm/dma-mapping.h
drivers/infiniband/ulp/srpt/ib_srpt.c
drivers/iommu/amd_iommu.c
drivers/misc/mic/bus/mic_bus.c
drivers/misc/mic/bus/scif_bus.c
drivers/misc/mic/bus/vop_bus.c
include/linux/device.h