diff options
Diffstat (limited to 'libc/arch-arm64/syscalls/clock_nanosleep.S')
-rw-r--r-- | libc/arch-arm64/syscalls/clock_nanosleep.S | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/libc/arch-arm64/syscalls/clock_nanosleep.S b/libc/arch-arm64/syscalls/clock_nanosleep.S index 357bda6..349c5cc 100644 --- a/libc/arch-arm64/syscalls/clock_nanosleep.S +++ b/libc/arch-arm64/syscalls/clock_nanosleep.S @@ -3,19 +3,12 @@ #include <private/bionic_asm.h> ENTRY(clock_nanosleep) - stp x29, x30, [sp, #-16]! - mov x29, sp - str x8, [sp, #-16]! - mov x8, __NR_clock_nanosleep svc #0 - ldr x8, [sp], #16 - ldp x29, x30, [sp], #16 - cmn x0, #(MAX_ERRNO + 1) cneg x0, x0, hi - b.hi __set_errno + b.hi __set_errno_internal ret END(clock_nanosleep) |