[PATCH 28/44] sparc: remove arch specific dma_supported implementations
David Miller
davem at davemloft.net
Thu Jun 8 07:24:05 PDT 2017
From: Christoph Hellwig <hch at lst.de>
Date: Thu, 8 Jun 2017 15:25:53 +0200
> Usually dma_supported decisions are done by the dma_map_ops instance.
> Switch sparc to that model by providing a ->dma_supported instance for
> sbus that always returns false, and implementations tailored to the sun4u
> and sun4v cases for sparc64, and leave it unimplemented for PCI on
> sparc32, which means always supported.
>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
Acked-by: David S. Miller <davem at davemloft.net>
More information about the linux-arm-kernel
mailing list