blob: 3f81098e889277c89d6191c37b2990b83ae40fe1 [file] [log] [blame]
Todd Poynor4200e622013-05-08 20:21:00 -07001/* autogenerated by gensyscalls.py */
Elliott Hughese4ffd9f2013-10-01 13:29:43 -07002#include <asm/unistd.h>
Todd Poynor4200e622013-05-08 20:21:00 -07003#include <linux/err.h>
4#include <machine/asm.h>
Todd Poynor4200e622013-05-08 20:21:00 -07005
6ENTRY(timerfd_gettime)
7 pushl %ebx
8 pushl %ecx
9 mov 12(%esp), %ebx
10 mov 16(%esp), %ecx
11 movl $__NR_timerfd_gettime, %eax
12 int $0x80
13 cmpl $-MAX_ERRNO, %eax
14 jb 1f
15 negl %eax
16 pushl %eax
17 call __set_errno
18 addl $4, %esp
19 orl $-1, %eax
201:
21 popl %ecx
22 popl %ebx
23 ret
24END(timerfd_gettime)