diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-11-19 20:58:31 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-11-24 17:41:35 +0000 |
commit | ebd7a845fa4332da3ebcbe8cf1b09bb43413420e (patch) | |
tree | 07bb3b78fd2bbe3705fb040f6ad1f5da6b5a625c /arch/arm/mach-mx1 | |
parent | 88c58f3b92bc7c26439802c300d39b6377739d81 (diff) |
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>
Diffstat (limited to 'arch/arm/mach-mx1')
0 files changed, 0 insertions, 0 deletions