2013-10-10 22:05:06 +00:00
|
|
|
/* Generated by gensyscalls.py. Do not edit. */
|
|
|
|
|
2013-11-07 18:31:05 +00:00
|
|
|
#include <private/bionic_asm.h>
|
2013-10-10 22:05:06 +00:00
|
|
|
|
2014-08-08 22:19:20 +00:00
|
|
|
.hidden __set_errno
|
|
|
|
|
2013-10-10 22:05:06 +00:00
|
|
|
ENTRY(nanosleep)
|
|
|
|
mov x8, __NR_nanosleep
|
|
|
|
svc #0
|
|
|
|
|
|
|
|
cmn x0, #(MAX_ERRNO + 1)
|
|
|
|
cneg x0, x0, hi
|
|
|
|
b.hi __set_errno
|
|
|
|
|
|
|
|
ret
|
|
|
|
END(nanosleep)
|