ARM: dma-mapping: Factor out noMMU dma buffer allocation code
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 19 Nov 2009 21:12:17 +0000 (21:12 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 24 Nov 2009 17:41:35 +0000 (17:41 +0000)
commit31ebf94435f74294523683867fe0b89000e61521
tree57f587da490f9c8bbf987d4165a5ede7f7ad5d63
parentebd7a845fa4332da3ebcbe8cf1b09bb43413420e
ARM: dma-mapping: Factor out noMMU dma buffer allocation code

This entirely separates the DMA coherent buffer remapping code from
the allocation code, and gets rid of the duplicate copy in the !MMU
section.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Greg Ungerer <gerg@uclinux.org>
arch/arm/mm/dma-mapping.c