]> git.baikalelectronics.ru Git - kernel.git/commit
mm/vmalloc.c: remove static declaration of va from __get_vm_area_node
authorKautuk Consul <consul.kautuk@gmail.com>
Tue, 20 Dec 2011 01:12:04 +0000 (17:12 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 20 Dec 2011 18:25:04 +0000 (10:25 -0800)
commit152961d4d603124d660e143427534d27d7b0ea73
tree024ff623dff8301d6b0e27453abd1ba043fd5285
parent64bce56f87e504250e2bd499fb3e93a56e1dd253
mm/vmalloc.c: remove static declaration of va from __get_vm_area_node

Static storage is not required for the struct vmap_area in
__get_vm_area_node.

Removing "static" to store this variable on the stack instead.

Signed-off-by: Kautuk Consul <consul.kautuk@gmail.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/vmalloc.c