aboutsummaryrefslogtreecommitdiffstats
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 f8e4b60db167..ffc0c3d0ae64 100644
--- a/mm/cma_debug.c
+++ b/mm/cma_debug.c
@@ -138,7 +138,7 @@ static int cma_alloc_mem(struct cma *cma, int count)
138 if (!mem) 138 if (!mem)
139 return -ENOMEM; 139 return -ENOMEM;
140 140
141 p = cma_alloc(cma, count, 0); 141 p = cma_alloc(cma, count, 0, GFP_KERNEL);
142 if (!p) { 142 if (!p) {
143 kfree(mem); 143 kfree(mem);
144 return -ENOMEM; 144 return -ENOMEM;