remove extra sys_ in epoll system call
RFC PATCH 1/1 remove extra sys_ in epoll system call
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
-----
arch/um/kernel/sys_call_table.c +0 -0
@@ -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
include/asm-i386/unistd.h +0 -0
@@ -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
include/asm-ppc/unistd.h +0 -0
@@ -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
Quoted 9 lines · Hanna Linder
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 besys_systhen the asmlinkage calls should be changes to reflect that. Let me know what you think.
Thank you Hanna. It's fine. I'll feed this to Linus in my next patch.
- Davide