History

[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.

Mike Frysinger committed 19 years ago

Commit 8560a101 parent 24d8f6a1 file · +8 −3Browse files

Unified · Split

include/asm-alpha/unistd.h+8−3
@@ -342,9 +342,14 @@ · 341 unmodified lines
342342 #define __NR_io_cancel 402
343343 #define __NR_exit_group 405
344344 #define __NR_lookup_dcookie 406
345−#define __NR_sys_epoll_create 407
346−#define __NR_sys_epoll_ctl 408
347−#define __NR_sys_epoll_wait 409
345+#define __NR_epoll_create 407
346+#define __NR_epoll_ctl 408
347+#define __NR_epoll_wait 409
348+/* Feb 2007: These three sys_epoll defines shouldn't be here but culling
349+ * them would break userspace apps ... we'll kill them off in 2010 :) */
350+#define __NR_sys_epoll_create __NR_epoll_create
351+#define __NR_sys_epoll_ctl __NR_epoll_ctl
352+#define __NR_sys_epoll_wait __NR_epoll_wait
348353 #define __NR_remap_file_pages 410
349354 #define __NR_set_tid_address 411
350355 #define __NR_restart_syscall 412

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t