]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mm/vmalloc.c: change void* into explict vm_struct*
authorMinchan Kim <minchan@kernel.org>
Tue, 10 Jan 2012 23:08:39 +0000 (15:08 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Jan 2012 00:30:46 +0000 (16:30 -0800)
commitdb1aecafef58b5dda39c4228debe2c845e4a27ab
tree4f8848463794e2e2d90039dc95a304d5efd7ca5a
parent3770490ec82ca63d5fdcebeb95f2f68af2626357
mm/vmalloc.c: change void* into explict vm_struct*

vmap_area->private is void* but we don't use the field for various purpose
but use only for vm_struct.  So change it to a vm_struct* with naming to
improve for readability and type checking.

Signed-off-by: Minchan Kim <minchan@kernel.org>
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