patch-2.4.21 linux-2.4.21/include/asm-x86_64/unistd.h
Next file: linux-2.4.21/include/asm-x86_64/vsyscall.h
Previous file: linux-2.4.21/include/asm-x86_64/uaccess.h
Back to the patch index
Back to the overall index
- Lines: 63
- Date:
2003-06-13 07:51:38.000000000 -0700
- Orig file:
linux-2.4.20/include/asm-x86_64/unistd.h
- Orig date:
2002-11-28 15:53:15.000000000 -0800
diff -urN linux-2.4.20/include/asm-x86_64/unistd.h linux-2.4.21/include/asm-x86_64/unistd.h
@@ -483,8 +483,20 @@
__SYSCALL(__NR_io_cancel, sys_ni_syscall)
#define __NR_get_thread_area 211
__SYSCALL(__NR_get_thread_area, sys_ni_syscall)
+#define __NR_lookup_dcookie 212
+__SYSCALL(__NR_lookup_dcookie, sys_ni_syscall)
+#define __NR_epoll_create 213
+__SYSCALL(__NR_epoll_create, sys_ni_syscall)
+#define __NR_epoll_ctl 214
+__SYSCALL(__NR_epoll_ctl, sys_ni_syscall)
+#define __NR_epoll_wait 215
+__SYSCALL(__NR_epoll_wait, sys_ni_syscall)
+#define __NR_remap_file_pages 216
+__SYSCALL(__NR_remap_file_pages, sys_ni_syscall)
+#define __NR_getdents64 217
+__SYSCALL(__NR_getdents64, sys_getdents64)
-#define __NR_syscall_max __NR_get_thread_area
+#define __NR_syscall_max __NR_getdents64
#ifndef __NO_STUBS
@@ -549,10 +561,10 @@
type name (type1 arg1, type2 arg2, type3 arg3, type4 arg4) \
{ \
long __res; \
-__asm__ volatile ("movq %5,%%r10 ;" __syscall \
+__asm__ volatile ("movq %[a3],%%r10 ;" __syscall \
: "=a" (__res) \
: "0" (__NR_##name),"D" ((long)(arg1)),"S" ((long)(arg2)), \
- "d" ((long)(arg3)),"g" ((long)(arg4)) : __syscall_clobber,"r10" ); \
+ "d" ((long)(arg3)), [a3] "g" ((long)(arg4)) : __syscall_clobber,"r10" ); \
__syscall_return(type,__res); \
}
@@ -561,10 +573,10 @@
type name (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5) \
{ \
long __res; \
-__asm__ volatile ("movq %5,%%r10 ; movq %6,%%r8 ; " __syscall \
+__asm__ volatile ("movq %[a3],%%r10 ; movq %[a4],%%r8 ; " __syscall \
: "=a" (__res) \
: "0" (__NR_##name),"D" ((long)(arg1)),"S" ((long)(arg2)), \
- "d" ((long)(arg3)),"g" ((long)(arg4)),"g" ((long)(arg5)) : \
+ "d" ((long)(arg3)), [a3] "g" ((long)(arg4)), [a4] "g" ((long)(arg5)) : \
__syscall_clobber,"r8","r10" ); \
__syscall_return(type,__res); \
}
@@ -574,11 +586,11 @@
type name (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5,type6 arg6) \
{ \
long __res; \
-__asm__ volatile ("movq %5,%%r10 ; movq %6,%%r8 ; movq %7,%%r9" __syscall \
+__asm__ volatile ("movq %[a3],%%r10 ; movq %[a4],%%r8 ; movq %[a5],%%r9" __syscall \
: "=a" (__res) \
: "0" (__NR_##name),"D" ((long)(arg1)),"S" ((long)(arg2)), \
- "d" ((long)(arg3)),"g" ((long)(arg4)),"g" ((long)(arg5), \
- "g" ((long)(arg6),) : \
+ "d" ((long)(arg3)), [a3] "g" ((long)(arg4)), [a4] "g" ((long)(arg5), \
+ [a5] "g" ((long)(arg6),) : \
__syscall_clobber,"r8","r10","r9" ); \
__syscall_return(type,__res); \
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)