diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-11-19 10:54:45 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-11-24 12:41:34 -0500 |
commit | 04da56943b416dd9fe7058abf8d5b9153164b3e9 (patch) | |
tree | 24541a1e46b9f660d3b33845d1e31b0d0c4918d0 /arch/arm/mm/pabort-v7.S | |
parent | 3e82d012e9281a0b6388ff2356e8396b9d781e1c (diff) |
ARM: dma-mapping: fix nommu dma_alloc_coherent()
The nommu version of 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>
Diffstat (limited to 'arch/arm/mm/pabort-v7.S')
0 files changed, 0 insertions, 0 deletions