Gitiles
Code Review
Sign In
review.blissroms.org
/
platform_bionic
/
e96d4bffe5eadd6f70eaefef1d6efcb00f6b23be
/
.
/
libc
/
arch-x86_64
/
syscalls
/
madvise.S
blob: e4ef9234d74caeb9501dfdeb9e4d585873f438d8 [
file
] [
log
] [
blame
]
/*
Generated by gensyscalls.py. Do not edit.
*/
#include <private/bionic_asm.h>
ENTRY
(
madvise
)
movl
$
__NR_madvise
,
%eax
syscall
cmpq
$-
MAX_ERRNO
,
%rax
jb
1
f
negl %eax
movl
%eax, %
edi
call __set_errno
orq
$
-1
,
%rax
1
:
ret
END
(
madvise
)