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