mm-cma-allocation-trigger-fix

s/CONFIG_CMA_ALIGNMENT/0/, per Joonsoo

Cc: Joonsoo Kim <[email protected]>
Cc: Konrad Rzeszutek Wilk <[email protected]>
Cc: Laura Abbott <[email protected]>
Cc: Marek Szyprowski <[email protected]>
Cc: Sasha Levin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Andrew Morton authored and Linus Torvalds committed 2015-04-14 16:49:00 -07:00
1 parent 8325330b02
commit 875abdb6d4
1 file changed
+1 -1
+1 -1
View File
@@ -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;