Re: [PATCH -mm 2/2] remove dma_is_consistent API

From: Konrad Rzeszutek Wilk
Date: Fri Jul 23 2010 - 12:20:00 EST


On Thu, Jul 22, 2010 at 08:40:11PM +0900, FUJITA Tomonori wrote:
> Architectures implement dma_is_consistent() in different ways (some
> misinterpret the definition of API in DMA-API.txt). So it hasn't been
> so useful for drivers. We have only one user of the API in
> tree. Unlikely out-of-tree drivers use the API.
>
> Even if we fix dma_is_consistent() in some architectures, it doesn't
> look useful at all. It was invented long ago for some old systems that
> can't allocate coherent memory at all. It's better to export only APIs
> that are definitely necessary for drivers.
>
> Let's remove this API.
>
> Signed-off-by: FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx>

Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/