summaryrefslogtreecommitdiffstats
path: root/libc/arch-arm64/syscalls/sched_yield.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/arch-arm64/syscalls/sched_yield.S')
-rw-r--r--libc/arch-arm64/syscalls/sched_yield.S4
1 files changed, 1 insertions, 3 deletions
diff --git a/libc/arch-arm64/syscalls/sched_yield.S b/libc/arch-arm64/syscalls/sched_yield.S
index cd6a978..4cfeeda 100644
--- a/libc/arch-arm64/syscalls/sched_yield.S
+++ b/libc/arch-arm64/syscalls/sched_yield.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_yield)
mov x8, __NR_sched_yield
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(sched_yield)