From e464ef16c4f080bb85ccf9085f92503b5b5b1e13 Mon Sep 17 00:00:00 2001 From: Gioh Kim Date: Thu, 22 May 2014 13:38:23 +0900 Subject: [PATCH] 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-format-patch failed