summaryrefslogtreecommitdiffstats
path: root/libc/arch-arm64/syscalls/clock_nanosleep.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/arch-arm64/syscalls/clock_nanosleep.S')
-rw-r--r--libc/arch-arm64/syscalls/clock_nanosleep.S11
1 files changed, 0 insertions, 11 deletions
diff --git a/libc/arch-arm64/syscalls/clock_nanosleep.S b/libc/arch-arm64/syscalls/clock_nanosleep.S
index eddf6f1..b64ff68 100644
--- a/libc/arch-arm64/syscalls/clock_nanosleep.S
+++ b/libc/arch-arm64/syscalls/clock_nanosleep.S
@@ -3,20 +3,9 @@
#include <private/bionic_asm.h>
ENTRY(clock_nanosleep)
- stp x29, x30, [sp, #-16]!
- .cfi_def_cfa_offset 16
- .cfi_rel_offset x29, 0
- .cfi_rel_offset x30, 8
- mov x29, sp
-
mov x8, __NR_clock_nanosleep
svc #0
- ldp x29, x30, [sp], #16
- .cfi_def_cfa_offset 0
- .cfi_restore x29
- .cfi_restore x30
-
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
b.hi __set_errno