summaryrefslogtreecommitdiff
path: root/libc/ports/sysdeps/unix/sysv/linux/aarch64/getcontext.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/ports/sysdeps/unix/sysv/linux/aarch64/getcontext.S')
-rw-r--r--libc/ports/sysdeps/unix/sysv/linux/aarch64/getcontext.S3
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/ports/sysdeps/unix/sysv/linux/aarch64/getcontext.S b/libc/ports/sysdeps/unix/sysv/linux/aarch64/getcontext.S
index c3709575b..2ba48044e 100644
--- a/libc/ports/sysdeps/unix/sysv/linux/aarch64/getcontext.S
+++ b/libc/ports/sysdeps/unix/sysv/linux/aarch64/getcontext.S
@@ -54,8 +54,7 @@ ENTRY(__getcontext)
str x2, [x0, oSP]
/* Initialize the pstate. */
- mov x3, #0
- str x3, [x0, oPSTATE]
+ str xzr, [x0, oPSTATE]
/* Figure out where to place the first context extension
block. */