]> 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)
commit988e6b891b06fdb8e5348545ea1f428ab6ca2e0d
tree5ea9c6760d913675a78b65275a39fb84e954c2e4
parenta1514c7ee4e8e5337df16ad73403949ccf5c8dae
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