diff options
author | Michael Holzheu <holzheu@linux.vnet.ibm.com> | 2011-12-27 11:27:24 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2011-12-27 11:27:13 +0100 |
commit | 7fe7a18cddf35f0d50d681ae6252241303b0cfc5 (patch) | |
tree | 90fb148ee0e21cce3969348654446ddd161b7f43 /arch/s390 | |
parent | 1afcfd5948ff27cdbc6d91e9f3cdbdd7f3b1e566 (diff) | |
download | kernel_goldelico_gta04-7fe7a18cddf35f0d50d681ae6252241303b0cfc5.zip kernel_goldelico_gta04-7fe7a18cddf35f0d50d681ae6252241303b0cfc5.tar.gz kernel_goldelico_gta04-7fe7a18cddf35f0d50d681ae6252241303b0cfc5.tar.bz2 |
[S390] Add VMCOREINFO_SYMBOL(high_memory) to vmcoreinfo
Currently the vmalloc_start address (or better end of real memory) for s390x
is obtained by makedumpfile using vmlist.addr symbol, which is not correct.
The correct vmalloc_start address can be obtained using 'high_memory' symbol.
This patch adds the high_memory symbol to vmcoreinfo.
Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/kernel/machine_kexec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/kernel/machine_kexec.c b/arch/s390/kernel/machine_kexec.c index 3cd0f25..47b168f 100644 --- a/arch/s390/kernel/machine_kexec.c +++ b/arch/s390/kernel/machine_kexec.c @@ -208,6 +208,7 @@ void machine_kexec_cleanup(struct kimage *image) void arch_crash_save_vmcoreinfo(void) { VMCOREINFO_SYMBOL(lowcore_ptr); + VMCOREINFO_SYMBOL(high_memory); VMCOREINFO_LENGTH(lowcore_ptr, NR_CPUS); } |