Skip to content

Commit

Permalink
sh: Wire up new timerfd syscalls.
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Feb 14, 2008
1 parent 8715305 commit 5d0e146
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
4 changes: 3 additions & 1 deletion arch/sh/kernel/syscalls_32.S
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,8 @@ ENTRY(sys_call_table)
.long sys_epoll_pwait
.long sys_utimensat /* 320 */
.long sys_signalfd
.long sys_ni_syscall
.long sys_timerfd_create
.long sys_eventfd
.long sys_fallocate
.long sys_timerfd_settime /* 325 */
.long sys_timerfd_gettime
4 changes: 3 additions & 1 deletion arch/sh/kernel/syscalls_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,8 @@ sys_call_table:
.long sys_epoll_pwait
.long sys_utimensat
.long sys_signalfd
.long sys_ni_syscall /* 350 */
.long sys_timerfd_create /* 350 */
.long sys_eventfd
.long sys_fallocate
.long sys_timerfd_settime
.long sys_timerfd_gettime
6 changes: 4 additions & 2 deletions include/asm-sh/unistd_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -330,11 +330,13 @@
#define __NR_epoll_pwait 319
#define __NR_utimensat 320
#define __NR_signalfd 321
/* #define __NR_timerfd 322 removed */
#define __NR_timerfd_create 322
#define __NR_eventfd 323
#define __NR_fallocate 324
#define __NR_timerfd_settime 325
#define __NR_timerfd_gettime 326

#define NR_syscalls 325
#define NR_syscalls 327

#ifdef __KERNEL__

Expand Down
6 changes: 4 additions & 2 deletions include/asm-sh/unistd_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
#define __NR_sigpending 73
#define __NR_sethostname 74
#define __NR_setrlimit 75
#define __NR_getrlimit 76 /* Back compatible 2Gig limited rlimit */
#define __NR_getrlimit 76 /* Back compatible 2Gig limited rlimit */
#define __NR_getrusage 77
#define __NR_gettimeofday 78
#define __NR_settimeofday 79
Expand Down Expand Up @@ -370,9 +370,11 @@
#define __NR_epoll_pwait 347
#define __NR_utimensat 348
#define __NR_signalfd 349
/* #define __NR_timerfd 350 removed */
#define __NR_timerfd_create 350
#define __NR_eventfd 351
#define __NR_fallocate 352
#define __NR_timerfd_settime 353
#define __NR_timerfd_gettime 354

#ifdef __KERNEL__

Expand Down

0 comments on commit 5d0e146

Please sign in to comment.