On Friday 24 June 2011, James Bottomley wrote: > On Fri, 2011-06-24 at 17:51 +0200, Arnd Bergmann wrote: > > Yes, I think that is good, but the change needs to be done atomically > > across all architectures. This should be easy enough as I believe > > all other architectures that use dma_map_ops don't even require > > dma_alloc_noncoherent > > This statement is definitely not true of parisc, and also, I believe, > not true of sh, so that would have to figure in the conversion work too. As far as I can tell, parisc uses its own hppa_dma_ops, not dma_map_ops, and arch/sh/include/asm/dma-mapping.h contains an unconditional #define dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent(d, s, h, f) If you want to change parisc to use dma_map_ops then I would suggest adding another attribute for alloc_noncoherent. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html