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/head.S | |
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/head.S')
-rw-r--r-- | arch/s390/boot/head.S | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/s390/boot/head.S b/arch/s390/boot/head.S index dae10961d072..fd78755d996d 100644 --- a/arch/s390/boot/head.S +++ b/arch/s390/boot/head.S @@ -313,6 +313,12 @@ ENTRY(startup_kdump) spt 6f-.LPG0(%r13) mvc __LC_LAST_UPDATE_TIMER(8),6f-.LPG0(%r13) l %r15,.Lstack-.LPG0(%r13) + // Clear decompressor's BSS section + larl %r2,_bss + slgr %r3,%r3 + larl %r4,_ebss + slgr %r4,%r2 + brasl %r14,memset brasl %r14,verify_facilities brasl %r14,startup_kernel |