aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
Diffstat (limited to 'mm')
-rw-r--r--mm/vmalloc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/mm/vmalloc.c b/mm/vmalloc.c
index 39c338896416..2e74e99d4cfe 100644
--- a/mm/vmalloc.c
+++ b/mm/vmalloc.c
@@ -1324,10 +1324,8 @@ static struct vm_struct *__get_vm_area_node(unsigned long size,
1324 if (unlikely(!area)) 1324 if (unlikely(!area))
1325 return NULL; 1325 return NULL;
1326 1326
1327 /* 1327 if (!(flags & VM_NO_GUARD))
1328 * We always allocate a guard page. 1328 size += PAGE_SIZE;
1329 */
1330 size += PAGE_SIZE;
1331 1329
1332 va = alloc_vmap_area(size, align, start, end, node, gfp_mask); 1330 va = alloc_vmap_area(size, align, start, end, node, gfp_mask);
1333 if (IS_ERR(va)) { 1331 if (IS_ERR(va)) {