Skip to content

Commit 0be7d1f

Browse files
jkkmKyle McMartin
authored andcommitted
parisc: add new syscalls
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
1 parent 089d552 commit 0be7d1f

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

‎arch/parisc/include/asm/unistd.h‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -801,8 +801,14 @@
801801
#define __NR_timerfd_create (__NR_Linux + 306)
802802
#define __NR_timerfd_settime (__NR_Linux + 307)
803803
#define __NR_timerfd_gettime (__NR_Linux + 308)
804-
805-
#define __NR_Linux_syscalls (__NR_timerfd_gettime + 1)
804+
#define __NR_signalfd4 (__NR_Linux + 309)
805+
#define __NR_eventfd2 (__NR_Linux + 310)
806+
#define __NR_epoll_create1 (__NR_Linux + 311)
807+
#define __NR_dup3 (__NR_Linux + 312)
808+
#define __NR_pipe2 (__NR_Linux + 313)
809+
#define __NR_inotify_init1 (__NR_Linux + 314)
810+
811+
#define __NR_Linux_syscalls (__NR_inotify_init1 + 1)
806812

807813

808814
#define __IGNORE_select /* newselect */

‎arch/parisc/kernel/syscall_table.S‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,12 @@
407407
ENTRY_SAME(timerfd_create)
408408
ENTRY_COMP(timerfd_settime)
409409
ENTRY_COMP(timerfd_gettime)
410+
ENTRY_COMP(signalfd4)
411+
ENTRY_SAME(eventfd2) /* 310 */
412+
ENTRY_SAME(epoll_create1)
413+
ENTRY_SAME(dup3)
414+
ENTRY_SAME(pipe2)
415+
ENTRY_SAME(inotify_init1)
410416

411417
/* Nothing yet */
412418

0 commit comments

Comments
 (0)