Commit 0006526d authored by Kautuk Consul's avatar Kautuk Consul Committed by Linus Torvalds

mm/vmalloc.c: remove static declaration of va from __get_vm_area_node

Static storage is not required for the struct vmap_area in

Removing "static" to store this variable on the stack instead.
Signed-off-by: default avatarKautuk Consul <>
Acked-by: default avatarDavid Rientjes <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent b75d91f7
......@@ -1290,7 +1290,7 @@ static struct vm_struct *__get_vm_area_node(unsigned long size,
unsigned long align, unsigned long flags, unsigned long start,
unsigned long end, int node, gfp_t gfp_mask, void *caller)
static struct vmap_area *va;
struct vmap_area *va;
struct vm_struct *area;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment