Skip to content

Commit

Permalink
parisc: add new syscalls
Browse files Browse the repository at this point in the history
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
  • Loading branch information
Kyle McMartin authored and Kyle McMartin committed Oct 10, 2008
1 parent 089d552 commit 0be7d1f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
10 changes: 8 additions & 2 deletions arch/parisc/include/asm/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -801,8 +801,14 @@
#define __NR_timerfd_create (__NR_Linux + 306)
#define __NR_timerfd_settime (__NR_Linux + 307)
#define __NR_timerfd_gettime (__NR_Linux + 308)

#define __NR_Linux_syscalls (__NR_timerfd_gettime + 1)
#define __NR_signalfd4 (__NR_Linux + 309)
#define __NR_eventfd2 (__NR_Linux + 310)
#define __NR_epoll_create1 (__NR_Linux + 311)
#define __NR_dup3 (__NR_Linux + 312)
#define __NR_pipe2 (__NR_Linux + 313)
#define __NR_inotify_init1 (__NR_Linux + 314)

#define __NR_Linux_syscalls (__NR_inotify_init1 + 1)


#define __IGNORE_select /* newselect */
Expand Down
6 changes: 6 additions & 0 deletions arch/parisc/kernel/syscall_table.S
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,12 @@
ENTRY_SAME(timerfd_create)
ENTRY_COMP(timerfd_settime)
ENTRY_COMP(timerfd_gettime)
ENTRY_COMP(signalfd4)
ENTRY_SAME(eventfd2) /* 310 */
ENTRY_SAME(epoll_create1)
ENTRY_SAME(dup3)
ENTRY_SAME(pipe2)
ENTRY_SAME(inotify_init1)

/* Nothing yet */

Expand Down

0 comments on commit 0be7d1f

Please sign in to comment.