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