diff options
author | Alexander Gordeev <agordeev@linux.ibm.com> | 2021-09-27 14:18:26 +0200 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2021-10-04 09:49:37 +0200 |
commit | e3ec8e0f5711d73f7e5d5c3cffdf4fad4f1487b9 (patch) | |
tree | 2738a712dccce610d38bb03ea51721e83371f6c3 /arch/s390/boot/compressed | |
parent | s390/boot: initialize control registers in decompressor (diff) | |
download | linux-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.h | 1 |
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 */ |