Skip to content

Commit

Permalink
mm-cma-allocation-trigger-fix
Browse files Browse the repository at this point in the history
s/CONFIG_CMA_ALIGNMENT/0/, per Joonsoo

Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Laura Abbott <lauraa@codeaurora.org>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Apr 14, 2015
1 parent 8325330 commit 875abdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/cma_debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 875abdb

Please sign in to comment.