11952073af
(aarch64 kernels don't have these system calls.) Change-Id: I6f64075aa412f71520f2df71c3d69b647f91c1ca
20 lines
375 B
ArmAsm
20 lines
375 B
ArmAsm
/* Generated by gensyscalls.py. Do not edit. */
|
|
|
|
#include <asm/unistd.h>
|
|
#include <linux/err.h>
|
|
#include <machine/asm.h>
|
|
|
|
ENTRY(__epoll_pwait)
|
|
movq %rcx, %r10
|
|
movl $__NR_epoll_pwait, %eax
|
|
syscall
|
|
cmpq $-MAX_ERRNO, %rax
|
|
jb 1f
|
|
negl %eax
|
|
movl %eax, %edi
|
|
call __set_errno
|
|
orq $-1, %rax
|
|
1:
|
|
ret
|
|
END(__epoll_pwait)
|