diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-02-06 23:05:13 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-02-14 00:22:08 -0500 |
commit | 5d0e146493a3306b931338ac030bc7a8de40c066 (patch) | |
tree | 08ee197b46b2cc27a4ea8a5e37a30d7933e9f26c | |
parent | 87153058b2e3bedfd339dbfec5dd6dd3d98677b0 (diff) |
sh: Wire up new timerfd syscalls.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r-- | arch/sh/kernel/syscalls_32.S | 4 | ||||
-rw-r--r-- | arch/sh/kernel/syscalls_64.S | 4 | ||||
-rw-r--r-- | include/asm-sh/unistd_32.h | 6 | ||||
-rw-r--r-- | include/asm-sh/unistd_64.h | 6 |
4 files changed, 14 insertions, 6 deletions
diff --git a/arch/sh/kernel/syscalls_32.S b/arch/sh/kernel/syscalls_32.S index 719e127a7c05..a46cc3a41148 100644 --- a/arch/sh/kernel/syscalls_32.S +++ b/arch/sh/kernel/syscalls_32.S | |||
@@ -338,6 +338,8 @@ ENTRY(sys_call_table) | |||
338 | .long sys_epoll_pwait | 338 | .long sys_epoll_pwait |
339 | .long sys_utimensat /* 320 */ | 339 | .long sys_utimensat /* 320 */ |
340 | .long sys_signalfd | 340 | .long sys_signalfd |
341 | .long sys_ni_syscall | 341 | .long sys_timerfd_create |
342 | .long sys_eventfd | 342 | .long sys_eventfd |
343 | .long sys_fallocate | 343 | .long sys_fallocate |
344 | .long sys_timerfd_settime /* 325 */ | ||
345 | .long sys_timerfd_gettime | ||
diff --git a/arch/sh/kernel/syscalls_64.S b/arch/sh/kernel/syscalls_64.S index 12c7340356ae..d5d7843aad94 100644 --- a/arch/sh/kernel/syscalls_64.S +++ b/arch/sh/kernel/syscalls_64.S | |||
@@ -376,6 +376,8 @@ sys_call_table: | |||
376 | .long sys_epoll_pwait | 376 | .long sys_epoll_pwait |
377 | .long sys_utimensat | 377 | .long sys_utimensat |
378 | .long sys_signalfd | 378 | .long sys_signalfd |
379 | .long sys_ni_syscall /* 350 */ | 379 | .long sys_timerfd_create /* 350 */ |
380 | .long sys_eventfd | 380 | .long sys_eventfd |
381 | .long sys_fallocate | 381 | .long sys_fallocate |
382 | .long sys_timerfd_settime | ||
383 | .long sys_timerfd_gettime | ||
diff --git a/include/asm-sh/unistd_32.h b/include/asm-sh/unistd_32.h index 433fd1b48fa2..0b07212ec659 100644 --- a/include/asm-sh/unistd_32.h +++ b/include/asm-sh/unistd_32.h | |||
@@ -330,11 +330,13 @@ | |||
330 | #define __NR_epoll_pwait 319 | 330 | #define __NR_epoll_pwait 319 |
331 | #define __NR_utimensat 320 | 331 | #define __NR_utimensat 320 |
332 | #define __NR_signalfd 321 | 332 | #define __NR_signalfd 321 |
333 | /* #define __NR_timerfd 322 removed */ | 333 | #define __NR_timerfd_create 322 |
334 | #define __NR_eventfd 323 | 334 | #define __NR_eventfd 323 |
335 | #define __NR_fallocate 324 | 335 | #define __NR_fallocate 324 |
336 | #define __NR_timerfd_settime 325 | ||
337 | #define __NR_timerfd_gettime 326 | ||
336 | 338 | ||
337 | #define NR_syscalls 325 | 339 | #define NR_syscalls 327 |
338 | 340 | ||
339 | #ifdef __KERNEL__ | 341 | #ifdef __KERNEL__ |
340 | 342 | ||
diff --git a/include/asm-sh/unistd_64.h b/include/asm-sh/unistd_64.h index 108d2ba897fe..9d21eab52427 100644 --- a/include/asm-sh/unistd_64.h +++ b/include/asm-sh/unistd_64.h | |||
@@ -90,7 +90,7 @@ | |||
90 | #define __NR_sigpending 73 | 90 | #define __NR_sigpending 73 |
91 | #define __NR_sethostname 74 | 91 | #define __NR_sethostname 74 |
92 | #define __NR_setrlimit 75 | 92 | #define __NR_setrlimit 75 |
93 | #define __NR_getrlimit 76 /* Back compatible 2Gig limited rlimit */ | 93 | #define __NR_getrlimit 76 /* Back compatible 2Gig limited rlimit */ |
94 | #define __NR_getrusage 77 | 94 | #define __NR_getrusage 77 |
95 | #define __NR_gettimeofday 78 | 95 | #define __NR_gettimeofday 78 |
96 | #define __NR_settimeofday 79 | 96 | #define __NR_settimeofday 79 |
@@ -370,9 +370,11 @@ | |||
370 | #define __NR_epoll_pwait 347 | 370 | #define __NR_epoll_pwait 347 |
371 | #define __NR_utimensat 348 | 371 | #define __NR_utimensat 348 |
372 | #define __NR_signalfd 349 | 372 | #define __NR_signalfd 349 |
373 | /* #define __NR_timerfd 350 removed */ | 373 | #define __NR_timerfd_create 350 |
374 | #define __NR_eventfd 351 | 374 | #define __NR_eventfd 351 |
375 | #define __NR_fallocate 352 | 375 | #define __NR_fallocate 352 |
376 | #define __NR_timerfd_settime 353 | ||
377 | #define __NR_timerfd_gettime 354 | ||
376 | 378 | ||
377 | #ifdef __KERNEL__ | 379 | #ifdef __KERNEL__ |
378 | 380 | ||