Davide,
Is sys part of the name of epoll? That will make the
system call actually sys_sys_epoll_*. This patch removes
the extra sys in the places where it is not needed if that is
the case. If it is supposed to be sys_sys then the asmlinkage
calls should be changes to reflect that. Let me know what you
think.
Hanna
-----
diff -Nru linux-2.5.48/arch/um/kernel/sys_call_table.c
linux-epoll/arch/um/kernel/sys_call_table.c
--- linux-2.5.48/arch/um/kernel/sys_call_table.c Sun Nov 17 20:29:52 2002
+++ linux-epoll/arch/um/kernel/sys_call_table.c Wed Nov 20 16:25:48 2002
@@ -487,9 +487,9 @@
[ __NR_free_hugepages ] = sys_ni_syscall,
[ __NR_exit_group ] = sys_exit_group,
[ __NR_lookup_dcookie ] = sys_lookup_dcookie,
- [ __NR_sys_epoll_create ] = sys_epoll_create,
- [ __NR_sys_epoll_ctl ] = sys_epoll_ctl,
- [ __NR_sys_epoll_wait ] = sys_epoll_wait,
+ [ __NR_epoll_create ] = sys_epoll_create,
+ [ __NR_epoll_ctl ] = sys_epoll_ctl,
+ [ __NR_epoll_wait ] = sys_epoll_wait,
[ __NR_remap_file_pages ] = sys_remap_file_pages,
ARCH_SYSCALLS
diff -Nru linux-2.5.48/include/asm-i386/unistd.h
linux-epoll/include/asm-i386/unistd.h
--- linux-2.5.48/include/asm-i386/unistd.h Sun Nov 17 20:29:49 2002
+++ linux-epoll/include/asm-i386/unistd.h Wed Nov 20 17:30:51 2002
@@ -258,9 +258,9 @@
#define __NR_free_hugepages 251
#define __NR_exit_group 252
#define __NR_lookup_dcookie 253
-#define __NR_sys_epoll_create 254
-#define __NR_sys_epoll_ctl 255
-#define __NR_sys_epoll_wait 256
+#define __NR_epoll_create 254
+#define __NR_epoll_ctl 255
+#define __NR_epoll_wait 256
#define __NR_remap_file_pages 257
#define __NR_set_tid_address 258
diff -Nru linux-2.5.48/include/asm-ppc/unistd.h
linux-epoll/include/asm-ppc/unistd.h
--- linux-2.5.48/include/asm-ppc/unistd.h Sun Nov 17 20:29:27 2002
+++ linux-epoll/include/asm-ppc/unistd.h Wed Nov 20 17:30:24 2002
@@ -240,9 +240,9 @@
#define __NR_free_hugepages 233
#define __NR_exit_group 234
#define __NR_lookup_dcookie 235
-#define __NR_sys_epoll_create 236
-#define __NR_sys_epoll_ctl 237
-#define __NR_sys_epoll_wait 238
+#define __NR_epoll_create 236
+#define __NR_epoll_ctl 237
+#define __NR_epoll_wait 238
#define __NR_remap_file_pages 239
#define __NR(n) #n
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:35 EST