Sign in
android
/
platform
/
bionic
/
bc9f9f25bf1247a6a638a2a2df8441bdd9fabad7
/
.
/
libc
/
arch-x86_64
/
syscalls
/
madvise.S
blob: c565ca3b18671cb0f9d430391a8344f1f5c3de63 [
file
] [
log
] [
blame
]
/*
Generated by gensyscalls.py. Do not edit.
*/
#include <private/bionic_asm.h>
.hidden __set_errno
ENTRY
(
madvise
)
movl
$
__NR_madvise
,
%eax
syscall
cmpq
$-
MAX_ERRNO
,
%rax
jb
1
f
negl %eax
movl
%eax, %
edi
call __set_errno
1
:
ret
END
(
madvise
)