cac7b9d6ec
(aarch64 kernels only have the newer system calls.) Also expose the new functionality that's exposed by glibc in our header files. Change-Id: I45d2d168a03f88723d1f7fbf634701006a4843c5
23 lines
435 B
ArmAsm
23 lines
435 B
ArmAsm
/* Generated by gensyscalls.py. Do not edit. */
|
|
|
|
#include <asm/unistd.h>
|
|
#include <linux/err.h>
|
|
#include <machine/asm.h>
|
|
|
|
ENTRY(inotify_init1)
|
|
pushl %ebx
|
|
mov 8(%esp), %ebx
|
|
movl $__NR_inotify_init1, %eax
|
|
int $0x80
|
|
cmpl $-MAX_ERRNO, %eax
|
|
jb 1f
|
|
negl %eax
|
|
pushl %eax
|
|
call __set_errno
|
|
addl $4, %esp
|
|
orl $-1, %eax
|
|
1:
|
|
popl %ebx
|
|
ret
|
|
END(inotify_init1)
|