diff options
author | Alexander Egorenkov <egorenar@linux.ibm.com> | 2020-09-02 16:52:06 +0200 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2020-09-16 14:08:47 +0200 |
commit | 980d5f9ab36b6cfe473a8371a7e11bd168c9e630 (patch) | |
tree | 21dd7162377841d3068d014d931ab511dd6f0430 /arch/s390/boot/startup.c | |
parent | 1a80b54d1ce1556bba6a8d8cd9384d6a9dcb641a (diff) | |
download | linux-980d5f9ab36b6cfe473a8371a7e11bd168c9e630.tar.bz2 |
s390/boot: enable .bss section for compressed kernel
- Support static uninitialized variables in compressed kernel.
- Remove chkbss script
- Get rid of workarounds for not having .bss section
Signed-off-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Reviewed-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/boot/startup.c')
-rw-r--r-- | arch/s390/boot/startup.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/s390/boot/startup.c b/arch/s390/boot/startup.c index 3b3a11f95269..81835483169b 100644 --- a/arch/s390/boot/startup.c +++ b/arch/s390/boot/startup.c @@ -120,6 +120,9 @@ static void handle_relocs(unsigned long offset) } } +/* + * This function clears the BSS section of the decompressed Linux kernel and NOT the decompressor's. + */ static void clear_bss_section(void) { memset((void *)vmlinux.default_lma + vmlinux.image_size, 0, vmlinux.bss_size); |