aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Morton <[email protected]>2015-04-14 15:45:05 -0700
committerLinus Torvalds <[email protected]>2015-04-14 16:49:00 -0700
commit875abdb6d43401c745ee8bc6d240f119a601d21f (patch)
treed0cf9a6abf43becfc05f842c397a558af522dfac
parent8325330b026509127d4541e0f511c0c10648c2d5 (diff)
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]>
-rw-r--r--mm/cma_debug.c2
1 files changed, 1 insertions, 1 deletions
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;