X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=arch%2Fx86_64%2Fbits%2Fsyscall.h;h=2339d2e5245fa7f9ad48615c0f77bf80a105582c;hb=b0c088ee550634e07a6289a8ac98cb8009f81c66;hp=d18edece31a06b56403e195967f806abe764aaab;hpb=7877db6b2f2deeceaac027579c661610655127f5;p=musl diff --git a/arch/x86_64/bits/syscall.h b/arch/x86_64/bits/syscall.h index d18edece..2339d2e5 100644 --- a/arch/x86_64/bits/syscall.h +++ b/arch/x86_64/bits/syscall.h @@ -60,7 +60,8 @@ static inline long __syscall6(long __n, long __a1, long __a2, long __a3, long __ return __ret; } -#define __socketcall(nm, a, b, c, d, e, f) syscall(__NR_##nm, a, b, c, d, e, f) +#define __socketcall(nm,a,b,c,d,e,f) syscall(__NR_##nm, a, b, c, d, e, f) +#define __socketcall_cp(nm,a,b,c,d,e,f) syscall_cp(__NR_##nm, a, b, c, d, e, f) #define __NR_read 0 #define __NR_write 1 @@ -374,6 +375,7 @@ 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_getdents __NR_getdents64 +#define __NR_fadvise __NR_fadvise64 @@ -691,5 +693,6 @@ 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_getdents SYS_getdents64 +#define SYS_fadvise SYS_fadvise64