diff options
author | Joonsoo Kim <js1304@gmail.com> | 2013-04-29 18:07:37 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-04-29 18:54:34 -0400 |
commit | f1c4069e1dc128dc8a851174cba2e273652e9216 (patch) | |
tree | cb5b315796926eb14fe7ee3c0db8b616e38ccb63 /kernel/kexec.c | |
parent | d4033afdf8282802ad28b0ed854393454115a071 (diff) |
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 <js1304@gmail.com>
Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Eric Biederman <ebiederm@xmission.com>
Cc: Dave Anderson <anderson@redhat.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Cc: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Chris Metcalf <cmetcalf@tilera.com>
Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
Cc: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/kexec.c')
-rw-r--r-- | kernel/kexec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/kexec.c b/kernel/kexec.c index b19181d44201..0b1f7e780d46 100644 --- a/kernel/kexec.c +++ b/kernel/kexec.c | |||
@@ -1577,7 +1577,7 @@ static int __init crash_save_vmcoreinfo_init(void) | |||
1577 | VMCOREINFO_SYMBOL(swapper_pg_dir); | 1577 | VMCOREINFO_SYMBOL(swapper_pg_dir); |
1578 | #endif | 1578 | #endif |
1579 | VMCOREINFO_SYMBOL(_stext); | 1579 | VMCOREINFO_SYMBOL(_stext); |
1580 | VMCOREINFO_SYMBOL(vmlist); | 1580 | VMCOREINFO_SYMBOL(vmap_area_list); |
1581 | 1581 | ||
1582 | #ifndef CONFIG_NEED_MULTIPLE_NODES | 1582 | #ifndef CONFIG_NEED_MULTIPLE_NODES |
1583 | VMCOREINFO_SYMBOL(mem_map); | 1583 | VMCOREINFO_SYMBOL(mem_map); |