summaryrefslogtreecommitdiff
path: root/arch/arm/mm/context.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2009-11-19 20:58:31 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-11-24 17:41:35 +0000
commitebd7a845fa4332da3ebcbe8cf1b09bb43413420e (patch)
tree07bb3b78fd2bbe3705fb040f6ad1f5da6b5a625c /arch/arm/mm/context.c
parent88c58f3b92bc7c26439802c300d39b6377739d81 (diff)
downloadlinux-3.10-ebd7a845fa4332da3ebcbe8cf1b09bb43413420e.tar.gz
linux-3.10-ebd7a845fa4332da3ebcbe8cf1b09bb43413420e.tar.bz2
linux-3.10-ebd7a845fa4332da3ebcbe8cf1b09bb43413420e.zip
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/mm/context.c')
0 files changed, 0 insertions, 0 deletions