summaryrefslogtreecommitdiff
path: root/arch/s390/boot/uv.c
diff options
context:
space:
mode:
authorAlexander Egorenkov <egorenar@linux.ibm.com>2021-06-15 15:25:41 +0300
committerHeiko Carstens <hca@linux.ibm.com>2021-07-27 10:39:16 +0300
commite9e7870f90e3587b712e05db2ded947a3f617119 (patch)
tree5f46c90fdecbab876787f31650b0bae4be075b7f /arch/s390/boot/uv.c
parent84733284f67b1a937f6205fdb16aa5cbb8b4f53d (diff)
downloadlinux-e9e7870f90e3587b712e05db2ded947a3f617119.tar.xz
s390/dump: introduce boot data 'oldmem_data'
The new boot data struct shall replace global variables OLDMEM_BASE and OLDMEM_SIZE. It is initialized in the decompressor and passed to the decompressed kernel. In comparison to the old solution, this one doesn't access data at fixed physical addresses which will become important when the decompressor becomes relocatable. Signed-off-by: Alexander Egorenkov <egorenar@linux.ibm.com> Acked-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/boot/uv.c')
-rw-r--r--arch/s390/boot/uv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/boot/uv.c b/arch/s390/boot/uv.c
index 735f29f81162..e6be155ab2e5 100644
--- a/arch/s390/boot/uv.c
+++ b/arch/s390/boot/uv.c
@@ -69,7 +69,7 @@ static int is_prot_virt_host_capable(void)
if (!test_facility(158))
return 0;
/* disable if kdump */
- if (OLDMEM_BASE)
+ if (oldmem_data.start)
return 0;
/* disable if stand-alone dump */
if (ipl_block_valid && is_ipl_block_dump())