summaryrefslogtreecommitdiff
path: root/arch/s390
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.ibm.com>2020-09-16 12:02:49 +0200
committerVasily Gorbik <gor@linux.ibm.com>2020-09-21 08:07:44 +0200
commitbcf1650c9b826602ad860f4465a3b66be611508a (patch)
tree0710b01a6eb1a301a505d7530fdcf8219d06a53c /arch/s390
parent48175fed1deaf8f37e918f504a5cff7504c583ad (diff)
s390/boot: avoid unnecessary zeroing of .bss section
.bss section is a part of the decompressor's image now, linker fills it with zeros already. No need do it with memset additionally. Reviewed-by: Alexander Egorenkov <egorenar@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r--arch/s390/boot/head.S6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/s390/boot/head.S b/arch/s390/boot/head.S
index fd78755d996d..dae10961d072 100644
--- a/arch/s390/boot/head.S
+++ b/arch/s390/boot/head.S
@@ -313,12 +313,6 @@ 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