]> asedeno.scripts.mit.edu Git - linux.git/commit
treewide: Consolidate set_dma_ops() implementations
authorBart Van Assche <bart.vanassche@sandisk.com>
Fri, 20 Jan 2017 21:04:03 +0000 (13:04 -0800)
committerDoug Ledford <dledford@redhat.com>
Tue, 24 Jan 2017 17:23:35 +0000 (12:23 -0500)
commitca6e8e1031419549f67291ca31b43126f07cecdb
tree198ea3d5b75d087a1be9e9d029dd1e03055be09c
parent5657933dbb6e25feaf5d8df8c88f96cdade693a3
treewide: Consolidate set_dma_ops() implementations

Now that all set_dma_ops() implementations are identical (ignoring
BUG_ON() statements), remove the architecture specific definitions
and add a definition in <linux/dma-mapping.h>.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Chris Metcalf <cmetcalf@mellanox.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: linux-arch@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Cc: linuxppc-dev@lists.ozlabs.org
Cc: Paul Mackerras <paulus@samba.org>
Cc: Russell King <linux@armlinux.org.uk>
Signed-off-by: Doug Ledford <dledford@redhat.com>
arch/arm/include/asm/dma-mapping.h
arch/powerpc/include/asm/dma-mapping.h
arch/tile/include/asm/dma-mapping.h
include/linux/dma-mapping.h