summaryrefslogtreecommitdiffstats
path: root/arch/s390
diff options
context:
space:
mode:
authorAlexander Gordeev <agordeev@linux.ibm.com>2021-05-17 08:18:11 +0200
committerVasily Gorbik <gor@linux.ibm.com>2021-06-07 12:12:03 +0200
commit5bcbe3285fb614c49db6b238253f7daff7e66312 (patch)
treecfc3b1640b6ea6567eccccd20547f878aeabfe8d /arch/s390
parent614124bea77e452aa6df7a8714e8bc820b489922 (diff)
downloadlinux-5bcbe3285fb614c49db6b238253f7daff7e66312.tar.gz
linux-5bcbe3285fb614c49db6b238253f7daff7e66312.tar.bz2
linux-5bcbe3285fb614c49db6b238253f7daff7e66312.zip
s390/mcck: fix calculation of SIE critical section size
The size of SIE critical section is calculated wrongly as result of a missed subtraction in commit 0b0ed657fe00 ("s390: remove critical section cleanup from entry.S") Fixes: 0b0ed657fe00 ("s390: remove critical section cleanup from entry.S") Cc: <stable@vger.kernel.org> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com> Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r--arch/s390/kernel/entry.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/entry.S b/arch/s390/kernel/entry.S
index 12de7a9c85b3..3a81e38c95e7 100644
--- a/arch/s390/kernel/entry.S
+++ b/arch/s390/kernel/entry.S
@@ -651,7 +651,7 @@ ENDPROC(stack_overflow)
.Lcleanup_sie_mcck:
larl %r13,.Lsie_entry
slgr %r9,%r13
- larl %r13,.Lsie_skip
+ lghi %r13,.Lsie_skip - .Lsie_entry
clgr %r9,%r13
jh .Lcleanup_sie_int
oi __LC_CPU_FLAGS+7, _CIF_MCCK_GUEST