From: Russell King Date: Thu, 19 Nov 2009 15:38:12 +0000 (+0000) Subject: ARM: dma-mapping: fix coherent arch dma_alloc_coherent() X-Git-Tag: v2.6.33-rc1~384^2~4^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e82d012e9281a0b6388ff2356e8396b9d781e1c;p=pandora-kernel.git 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 Acked-by: Greg Ungerer --- Reading git-diff-tree failed