aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S')
-rw-r--r--sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S b/sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
index 55a9aa135c..ef2a862c55 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
+++ b/sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
@@ -34,12 +34,12 @@
other than the PRESERVED state. */
ENTRY(__swapcontext)
- lr %r1,%r2
- lr %r5,%r3
+ lgr %r1,%r2
+ lgr %r5,%r3
/* sigprocmask (SIG_BLOCK, NULL, &sc->sc_mask). */
la %r2,SIG_BLOCK
- slr %r3,%r3
+ slgr %r3,%r3
la %r4,SC_MASK(%r1)
svc SYS_ify(rt_sigprocmask)
@@ -63,7 +63,7 @@ ENTRY(__swapcontext)
std %f15,SC_FPRS+120(%r1)
/* Set __swapcontext return value to 0. */
- slr %r2,%r2
+ slgr %r2,%r2
/* Store access registers. */
stam %a0,%a15,SC_ACRS(%r1)