aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/boot/compressed
diff options
context:
space:
mode:
authorAlexander Gordeev <agordeev@linux.ibm.com>2021-09-27 14:18:26 +0200
committerVasily Gorbik <gor@linux.ibm.com>2021-10-04 09:49:37 +0200
commite3ec8e0f5711d73f7e5d5c3cffdf4fad4f1487b9 (patch)
tree2738a712dccce610d38bb03ea51721e83371f6c3 /arch/s390/boot/compressed
parents390/boot: initialize control registers in decompressor (diff)
downloadlinux-dev-e3ec8e0f5711d73f7e5d5c3cffdf4fad4f1487b9.tar.xz
linux-dev-e3ec8e0f5711d73f7e5d5c3cffdf4fad4f1487b9.zip
s390/boot: allocate amode31 section in decompressor
The memory for amode31 section is allocated from the decompressed kernel. Instead, allocate that memory from the decompressor. This is a prerequisite to allow initialization of the virtual memory before the decompressed kernel takes over. Reviewed-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/boot/compressed')
-rw-r--r--arch/s390/boot/compressed/decompressor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/boot/compressed/decompressor.h b/arch/s390/boot/compressed/decompressor.h
index a59f75c5b049..f75cc31a77dd 100644
--- a/arch/s390/boot/compressed/decompressor.h
+++ b/arch/s390/boot/compressed/decompressor.h
@@ -24,6 +24,7 @@ struct vmlinux_info {
unsigned long dynsym_start;
unsigned long rela_dyn_start;
unsigned long rela_dyn_end;
+ unsigned long amode31_size;
};
/* Symbols defined by linker scripts */