commit | 3e82d012e9281a0b6388ff2356e8396b9d781e1c | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Thu Nov 19 15:38:12 2009 +0000 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Tue Nov 24 17:41:34 2009 +0000 |
tree | c76320422bd3988e499680662b3bebbf9796589b | |
parent | 7a9a32a9533fa01de911e1d056142ddd27360782 [diff] |
ARM: dma-mapping: fix coherent arch dma_alloc_coherent() The coherent architecture dma_alloc_coherent was using kmalloc/kfree to manage the memory. dma_alloc_coherent() is expected to work with a granularity of a page, so this is wrong. Fix it by using the helper functions now provided. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Acked-by: Greg Ungerer <gerg@uclinux.org>