Skip to content

Commit

Permalink
sh: Wire up new syscalls.
Browse files Browse the repository at this point in the history
This wires up the signalfd4, eventfd2, epoll_create1, dup3, pipe2, and
inotify_init1 syscalls.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Jul 28, 2008
1 parent 82cb1f6 commit 44f9598
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 2 deletions.
6 changes: 6 additions & 0 deletions arch/sh/kernel/syscalls_32.S
Original file line number Diff line number Diff line change
Expand Up @@ -343,3 +343,9 @@ ENTRY(sys_call_table)
.long sys_fallocate
.long sys_timerfd_settime /* 325 */
.long sys_timerfd_gettime
.long sys_signalfd4
.long sys_eventfd2
.long sys_epoll_create1
.long sys_dup3 /* 330 */
.long sys_pipe2
.long sys_inotify_init1
6 changes: 6 additions & 0 deletions arch/sh/kernel/syscalls_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -381,3 +381,9 @@ sys_call_table:
.long sys_fallocate
.long sys_timerfd_settime
.long sys_timerfd_gettime
.long sys_signalfd4 /* 355 */
.long sys_eventfd2
.long sys_epoll_create1
.long sys_dup3
.long sys_pipe2
.long sys_inotify_init1 /* 360 */
8 changes: 7 additions & 1 deletion include/asm-sh/unistd_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,14 @@
#define __NR_fallocate 324
#define __NR_timerfd_settime 325
#define __NR_timerfd_gettime 326
#define __NR_signalfd4 327
#define __NR_eventfd2 328
#define __NR_epoll_create1 329
#define __NR_dup3 330
#define __NR_pipe2 331
#define __NR_inotify_init1 332

#define NR_syscalls 327
#define NR_syscalls 333

#ifdef __KERNEL__

Expand Down
8 changes: 7 additions & 1 deletion include/asm-sh/unistd_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -375,10 +375,16 @@
#define __NR_fallocate 352
#define __NR_timerfd_settime 353
#define __NR_timerfd_gettime 354
#define __NR_signalfd4 355
#define __NR_eventfd2 356
#define __NR_epoll_create1 357
#define __NR_dup3 358
#define __NR_pipe2 359
#define __NR_inotify_init1 360

#ifdef __KERNEL__

#define NR_syscalls 353
#define NR_syscalls 361

#define __ARCH_WANT_IPC_PARSE_VERSION
#define __ARCH_WANT_OLD_READDIR
Expand Down

0 comments on commit 44f9598

Please sign in to comment.