From c3e57ce1a9bef37ec8ff5fc82362bfd3a0573a2e Mon Sep 17 00:00:00 2001 From: kettenis Date: Tue, 4 May 2021 19:02:52 +0000 Subject: [PATCH] sigpending(2) will never fail. Optimize the syscall stub accordingly like we do on other architectures. ok mpi@ --- lib/libc/arch/aarch64/sys/sigpending.S | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/libc/arch/aarch64/sys/sigpending.S b/lib/libc/arch/aarch64/sys/sigpending.S index c532274f79c..abbb862c481 100644 --- a/lib/libc/arch/aarch64/sys/sigpending.S +++ b/lib/libc/arch/aarch64/sys/sigpending.S @@ -1,4 +1,4 @@ -/* $OpenBSD: sigpending.S,v 1.3 2018/08/12 17:15:10 mortimer Exp $ */ +/* $OpenBSD: sigpending.S,v 1.4 2021/05/04 19:02:52 kettenis Exp $ */ /* $NetBSD: sigpending.S,v 1.5 2003/08/07 16:42:05 agc Exp $ */ /*- @@ -38,7 +38,6 @@ SYSENTRY(sigpending) RETGUARD_SETUP(sigpending, x15) mov x2, x0 SYSTRAP(sigpending) - bcs CERROR str w0, [x2] mov x0, #0 RETGUARD_CHECK(sigpending, x15) -- 2.20.1