diff options
author | Alexander Egorenkov <egorenar@linux.ibm.com> | 2024-04-23 12:42:05 +0300 |
---|---|---|
committer | Alexander Gordeev <agordeev@linux.ibm.com> | 2024-04-29 18:33:29 +0300 |
commit | a2269a66eec37916e2bcc148b7f7ed398b66263f (patch) | |
tree | 7b447d1fe92fd5bbdfaef9effa8168cba49c561c /arch/s390/include/asm/asm-const.h | |
parent | 3113a29e25fe072d6eb0abccd695d7cc72ac9b6f (diff) | |
download | linux-a2269a66eec37916e2bcc148b7f7ed398b66263f.tar.xz |
s390/os_info: Initialize old os_info in standalone dump kernel
The commit be42660d0c13 ("s390/crash: use old os_info to create PT_LOAD headers")
introduced use of the old os_info into standalone dump kernel.
Before this change os_info_old_init() expected to be called only from
a regular kdump kernel although the function itself is able to work
in standalone dump kernels as well (because copy_oldmem_kernel() is able
to handle both use cases). Therefore, fix the expectation of os_info_old_init()
and enable it to be called from a standalone dump kernel.
Fixes: f4cac27dc0d6 ("s390/crash: Use old os_info to create PT_LOAD headers")
Acked-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/asm-const.h')
0 files changed, 0 insertions, 0 deletions