From: Andrew Morton Date: Tue, 14 Apr 2015 22:45:05 +0000 (-0700) Subject: mm-cma-allocation-trigger-fix X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=875abdb6d43401c745ee8bc6d240f119a601d21f;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git mm-cma-allocation-trigger-fix s/CONFIG_CMA_ALIGNMENT/0/, per Joonsoo Cc: Joonsoo Kim Cc: Konrad Rzeszutek Wilk Cc: Laura Abbott Cc: Marek Szyprowski Cc: Sasha Levin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/cma_debug.c b/mm/cma_debug.c index ae41faeed596..0b377536ccde 100644 --- a/mm/cma_debug.c +++ b/mm/cma_debug.c @@ -103,7 +103,7 @@ static int cma_alloc_mem(struct cma *cma, int count) if (!mem) return -ENOMEM; - p = cma_alloc(cma, count, CONFIG_CMA_ALIGNMENT); + p = cma_alloc(cma, count, 0); if (!p) { kfree(mem); return -ENOMEM;