]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf0bae3ac8dbfa66de5fdfcdb556043ddaaa10bbd
tree5ea9c6760d913675a78b65275a39fb84e954c2e4
parent8a24936bfff419c2c61bd3f79d69e6ac1ecb62ee
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