blob: 6c6f54ae11b5c37e91c455c098ee6342a0ed3f2e [file] [log] [blame]
/* Generated by gensyscalls.py. Do not edit. */
#include <asm/unistd.h>
#include <linux/err.h>
#include <machine/asm.h>
ENTRY(timerfd_settime)
movq %rcx, %r10
movl $__NR_timerfd_settime, %eax
syscall
cmpq $-MAX_ERRNO, %rax
jb 1f
negl %eax
movl %eax, %edi
call __set_errno
orq $-1, %rax
1:
ret
END(timerfd_settime)