diff options
author | Philipp Rudo <prudo@linux.ibm.com> | 2018-08-06 14:39:52 +0300 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2018-08-16 15:49:14 +0300 |
commit | 263b0e480c9b0fda77a89f5d6375d8a39de5c166 (patch) | |
tree | 8bb734a930f91546b898ea65ca6ea7e8e4eaae1e /arch/um | |
parent | 2abe24b4b095c9a7bfd8157daa8aea5c464b7aa9 (diff) | |
download | linux-263b0e480c9b0fda77a89f5d6375d8a39de5c166.tar.xz |
s390/kdump: Make elfcorehdr size calculation ABI compliant
There are two ways to pass the vmcoreinfo to the crash kernel 1) via the
os_info mechanism and 2) via the lowcore->vmcore_info field. In the Linux
kernel only the second way is used. However, the first way is ABI for
stand-alone kdump. So other OSes use it to pass additional debug info. Make
the elfcorehdr size calculation aware of both possible ways.
Fixes: 8cce437fbb5c ("s390/kdump: Fix elfcorehdr size calculation")
Signed-off-by: Philipp Rudo <prudo@linux.ibm.com>
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'arch/um')
0 files changed, 0 insertions, 0 deletions