From: Gioh Kim Date: Thu, 22 May 2014 04:38:23 +0000 (+0900) Subject: arm: dma-mapping: add checking cma area initialized X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~27^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e464ef16c4f080bb85ccf9085f92503b5b5b1e13;p=pandora-kernel.git arm: dma-mapping: add checking cma area initialized If CMA is turned on and CMA size is set to zero, kernel should behave as if CMA was not enabled at compile time. Every dma allocation should check existence of cma area before requesting memory. Signed-off-by: Gioh Kim Signed-off-by: Joonsoo Kim Acked-by: Michal Nazarewicz [mszyprow: removed redundant empty line from the patch] Signed-off-by: --- Reading git-diff-tree failed