diff options
-rw-r--r-- | mm/vmalloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/vmalloc.c b/mm/vmalloc.c index 6d381df7c9b3..46606c133e82 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c | |||
@@ -182,7 +182,7 @@ static struct vm_struct *__get_vm_area_node(unsigned long size, unsigned long fl | |||
182 | addr = ALIGN(start, align); | 182 | addr = ALIGN(start, align); |
183 | size = PAGE_ALIGN(size); | 183 | size = PAGE_ALIGN(size); |
184 | 184 | ||
185 | area = kmalloc_node(sizeof(*area), gfp_mask, node); | 185 | area = kmalloc_node(sizeof(*area), gfp_mask & GFP_LEVEL_MASK, node); |
186 | if (unlikely(!area)) | 186 | if (unlikely(!area)) |
187 | return NULL; | 187 | return NULL; |
188 | 188 | ||