blob: e81c671261bd7bd156c5d9467b3fdcbbd7410437 (
plain)
1
2
3
4
5
6
7
8
9
|
#include "asm/unistd_64.h" // for __NR_madvise
#include <sys/mman.h> // for posix_madvise, size_t
#include <syscall.h> // for __syscall_3, syscall
int posix_madvise(void *addr, size_t len, int advice)
{
return syscall(madvise, addr, len, advice);
}
|