From 1c76683cb4377a481dc1085b63170bb276512267 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 20 Apr 2011 15:20:22 -0400 Subject: add syscall wrappers for posix_fadvise, posix_fallocate --- arch/i386/bits/syscall.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'arch/i386/bits/syscall.h') diff --git a/arch/i386/bits/syscall.h b/arch/i386/bits/syscall.h index 274f205c..16565eee 100644 --- a/arch/i386/bits/syscall.h +++ b/arch/i386/bits/syscall.h @@ -527,6 +527,8 @@ static inline long __syscall6(long __n, long __a1, long __a2, long __a3, long __ #define __NR_pread __NR_pread64 #define __NR_pwrite __NR_pwrite64 +#define __NR_fadvise __NR_fadvise64_64 + #undef __NR_getrlimit #define __NR_getrlimit __NR_ugetrlimit @@ -936,6 +938,8 @@ static inline long __syscall6(long __n, long __a1, long __a2, long __a3, long __ #define SYS_pread SYS_pread64 #define SYS_pwrite SYS_pwrite64 +#define SYS_fadvise SYS_fadvise64_64 + #undef SYS_getrlimit #define SYS_getrlimit SYS_ugetrlimit -- cgit v1.2.1