summaryrefslogtreecommitdiff
path: root/arch/s390/boot/head.S
diff options
context:
space:
mode:
authorAlexander Egorenkov <egorenar@linux.ibm.com>2020-09-02 17:52:06 +0300
committerVasily Gorbik <gor@linux.ibm.com>2020-09-16 15:08:47 +0300
commit980d5f9ab36b6cfe473a8371a7e11bd168c9e630 (patch)
tree21dd7162377841d3068d014d931ab511dd6f0430 /arch/s390/boot/head.S
parent1a80b54d1ce1556bba6a8d8cd9384d6a9dcb641a (diff)
downloadlinux-980d5f9ab36b6cfe473a8371a7e11bd168c9e630.tar.xz
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.S6
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