blob: 5a5f3e4e2f29c7ad6bcc5c89b73f15222b47aed6 [file] [log] [blame]
Todd Poynor4200e622013-05-08 20:21:00 -07001/* autogenerated by gensyscalls.py */
2#include <linux/err.h>
3#include <machine/asm.h>
4#include <asm/unistd.h>
5
6ENTRY(timerfd_settime)
7 pushl %ebx
8 pushl %ecx
9 pushl %edx
10 pushl %esi
11 mov 20(%esp), %ebx
12 mov 24(%esp), %ecx
13 mov 28(%esp), %edx
14 mov 32(%esp), %esi
15 movl $__NR_timerfd_settime, %eax
16 int $0x80
17 cmpl $-MAX_ERRNO, %eax
18 jb 1f
19 negl %eax
20 pushl %eax
21 call __set_errno
22 addl $4, %esp
23 orl $-1, %eax
241:
25 popl %esi
26 popl %edx
27 popl %ecx
28 popl %ebx
29 ret
30END(timerfd_settime)