mm, vmalloc: export vmap_area_list, instead of vmlist
authorJoonsoo Kim <[email protected]>
Mon, 29 Apr 2013 22:07:37 +0000 (15:07 -0700)
committerLinus Torvalds <[email protected]>
Mon, 29 Apr 2013 22:54:34 +0000 (15:54 -0700)
commitf1c4069e1dc128dc8a851174cba2e273652e9216
treecb5b315796926eb14fe7ee3c0db8b616e38ccb63
parentd4033afdf8282802ad28b0ed854393454115a071
mm, vmalloc: export vmap_area_list, instead of vmlist

Although our intention is to unexport internal structure entirely, but
there is one exception for kexec.  kexec dumps address of vmlist and
makedumpfile uses this information.

We are about to remove vmlist, then another way to retrieve information
of vmalloc layer is needed for makedumpfile.  For this purpose, we
export vmap_area_list, instead of vmlist.

Signed-off-by: Joonsoo Kim <[email protected]>
Signed-off-by: Joonsoo Kim <[email protected]>
Cc: Eric Biederman <[email protected]>
Cc: Dave Anderson <[email protected]>
Cc: Vivek Goyal <[email protected]>
Cc: Atsushi Kumagai <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Chris Metcalf <[email protected]>
Cc: Guan Xuetao <[email protected]>
Cc: Ingo Molnar <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/vmalloc.h
kernel/kexec.c
mm/nommu.c
mm/vmalloc.c