]> git.wh0rd.org - patches.git/blob - linux-alpha-epoll-sysnums.patch
more random patches. who knows.
[patches.git] / linux-alpha-epoll-sysnums.patch
1 diff --git a/include/asm-alpha/unistd.h b/include/asm-alpha/unistd.h
2 index 84313d1..e58a427 100644
3 --- a/include/asm-alpha/unistd.h
4 +++ b/include/asm-alpha/unistd.h
5 @@ -342,9 +342,14 @@
6 #define __NR_io_cancel 402
7 #define __NR_exit_group 405
8 #define __NR_lookup_dcookie 406
9 -#define __NR_sys_epoll_create 407
10 -#define __NR_sys_epoll_ctl 408
11 -#define __NR_sys_epoll_wait 409
12 +#define __NR_epoll_create 407
13 +#define __NR_epoll_ctl 408
14 +#define __NR_epoll_wait 409
15 +/* Feb 2007: These three sys_epoll defines shouldn't be here but culling
16 + * them would break userspace apps ... we'll kill them off in 2010 :) */
17 +#define __NR_sys_epoll_create __NR_epoll_create
18 +#define __NR_sys_epoll_ctl __NR_epoll_ctl
19 +#define __NR_sys_epoll_wait __NR_epoll_wait
20 #define __NR_remap_file_pages 410
21 #define __NR_set_tid_address 411
22 #define __NR_restart_syscall 412