Russell King ebd7a845fa ARM: dma-mapping: clean up coherent arch dma allocation
IXP23xx added support for dma_alloc_coherent() for DMA arches with an
exception in dma_alloc_coherent().  This is a subset of what goes on
in __dma_alloc(), and there is no reason why dma_alloc_writecombine()
should not be given the same treatment (except, maybe, that IXP23xx
doesn't use it.)

We can better deal with this by moving the arch_is_coherent() test
inside __dma_alloc() and killing the code duplication.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Greg Ungerer <gerg@uclinux.org>
2009-11-24 17:41:35 +00:00
..
2009-03-25 13:10:01 +02:00
2009-10-29 19:13:09 +00:00
2009-03-25 13:10:01 +02:00
2009-10-29 19:13:09 +00:00
2009-10-11 16:29:48 +01:00
2008-09-06 12:10:45 +01:00
2009-03-15 21:01:20 -04:00
2008-11-27 12:37:59 +00:00
2009-03-25 13:10:01 +02:00