blob: 86a6d5f1022cfdc4c62da2f092430f388efa1d20 [file] [log] [blame]
Elliott Hughes103ccde2013-10-16 14:27:59 -07001/* Generated by gensyscalls.py. Do not edit. */
2
Elliott Hughese4ffd9f2013-10-01 13:29:43 -07003#include <asm/unistd.h>
4#include <linux/err.h>
5#include <machine/asm.h>
6
Elliott Hughescac7b9d2013-10-23 09:48:29 -07007ENTRY(inotify_init1)
8 movl $__NR_inotify_init1, %eax
Elliott Hughese4ffd9f2013-10-01 13:29:43 -07009 syscall
10 cmpq $-MAX_ERRNO, %rax
11 jb 1f
12 negl %eax
13 movl %eax, %edi
14 call __set_errno
15 orq $-1, %rax
161:
17 ret
Elliott Hughescac7b9d2013-10-23 09:48:29 -070018END(inotify_init1)