summaryrefslogtreecommitdiffstats
path: root/mm/cma_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/cma_debug.c')
-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;