sparc: use generic dma_noncoherent_ops
authorChristoph Hellwig <hch@lst.de>
Tue, 31 Jul 2018 08:02:04 +0000 (10:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Aug 2018 19:37:16 +0000 (12:37 -0700)
commitdfaad39cec85790f87161705c14027a63be44496
tree5ea9c6760d913675a78b65275a39fb84e954c2e4
parent778a33959a8ad4cb1ea2f4c5119f9e1e8b9f9d9b
sparc: use generic dma_noncoherent_ops

Switch to the generic noncoherent direct mapping implementation.

This removes the previous sync_single_for_device implementation, which
looks bogus given that no syncing is happening in the similar but more
important map_single case.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/Kconfig
arch/sparc/include/asm/dma-mapping.h
arch/sparc/kernel/ioport.c