提交 8560a10e 编写于 作者: M Mike Frysinger 提交者: Linus Torvalds

[PATCH] alpha: fix epoll syscall enumerations

We went and named them __NR_sys_foo instead of __NR_foo.

It may be too late to change this, but we can at least add the proper names
now.
Signed-off-by: NMike Frysinger <vapier@gentoo.org>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 24d8f6ad
...@@ -342,9 +342,14 @@ ...@@ -342,9 +342,14 @@
#define __NR_io_cancel 402 #define __NR_io_cancel 402
#define __NR_exit_group 405 #define __NR_exit_group 405
#define __NR_lookup_dcookie 406 #define __NR_lookup_dcookie 406
#define __NR_sys_epoll_create 407 #define __NR_epoll_create 407
#define __NR_sys_epoll_ctl 408 #define __NR_epoll_ctl 408
#define __NR_sys_epoll_wait 409 #define __NR_epoll_wait 409
/* Feb 2007: These three sys_epoll defines shouldn't be here but culling
* them would break userspace apps ... we'll kill them off in 2010 :) */
#define __NR_sys_epoll_create __NR_epoll_create
#define __NR_sys_epoll_ctl __NR_epoll_ctl
#define __NR_sys_epoll_wait __NR_epoll_wait
#define __NR_remap_file_pages 410 #define __NR_remap_file_pages 410
#define __NR_set_tid_address 411 #define __NR_set_tid_address 411
#define __NR_restart_syscall 412 #define __NR_restart_syscall 412
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册