summaryrefslogtreecommitdiff
path: root/lib/libc/arch/powerpc64/sys/sigpending.S
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/arch/powerpc64/sys/sigpending.S')
-rw-r--r--lib/libc/arch/powerpc64/sys/sigpending.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/arch/powerpc64/sys/sigpending.S b/lib/libc/arch/powerpc64/sys/sigpending.S
index 0af6670dd32..488596e86eb 100644
--- a/lib/libc/arch/powerpc64/sys/sigpending.S
+++ b/lib/libc/arch/powerpc64/sys/sigpending.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: sigpending.S,v 1.2 2020/10/16 23:42:16 deraadt Exp $ */
+/* $OpenBSD: sigpending.S,v 1.3 2023/12/10 16:45:52 deraadt Exp $ */
/*
* Copyright (c) 2012 Mark Kettenis
*
@@ -25,7 +25,8 @@ SYSENTRY(sigpending)
li %r0, SYS_sigpending
mr %r5, %r3
- sc
+99: sc
+ PINSYSCALL(SYS_sigpending, 99b)
stw %r3, 0(%r5)
li %r3, 0
RETGUARD_CHECK(sigpending, %r11)