Re: [PATCH] x86-64: dma_ops for DMA mapping -K4

From: Andi Kleen
Date: Thu Nov 17 2005 - 19:28:43 EST


On Thursday 17 November 2005 23:03, Christoph Hellwig wrote:

> Any chance you could move struct dma_mapping_ops to generic code and
> implement the dma_ operations ontop of them in linux/dma-mapping.h if
> the arch sets a WANT_DMA_MAPPING_OPS symbol? This kind of switch is
> duplicated in far too many architectures.

If anything asm-generic, not ifdef.

-Andi
-
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/