diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-07-28 05:34:45 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-07-28 05:34:45 -0400 |
commit | 44f95989525c48f6c79fe1c6ad07860765f987cd (patch) | |
tree | f1b4caa36cf7607dc44e57aefb037087e8a7a259 /include/asm-sh | |
parent | 82cb1f6fb3f69518eaa4ab9c0fa7eabc253ad26f (diff) |
sh: Wire up new syscalls.
This wires up the signalfd4, eventfd2, epoll_create1, dup3, pipe2, and
inotify_init1 syscalls.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/asm-sh')
-rw-r--r-- | include/asm-sh/unistd_32.h | 8 | ||||
-rw-r--r-- | include/asm-sh/unistd_64.h | 8 |
2 files changed, 14 insertions, 2 deletions
diff --git a/include/asm-sh/unistd_32.h b/include/asm-sh/unistd_32.h index 0b07212ec659..d52c000cf924 100644 --- a/include/asm-sh/unistd_32.h +++ b/include/asm-sh/unistd_32.h | |||
@@ -335,8 +335,14 @@ | |||
335 | #define __NR_fallocate 324 | 335 | #define __NR_fallocate 324 |
336 | #define __NR_timerfd_settime 325 | 336 | #define __NR_timerfd_settime 325 |
337 | #define __NR_timerfd_gettime 326 | 337 | #define __NR_timerfd_gettime 326 |
338 | #define __NR_signalfd4 327 | ||
339 | #define __NR_eventfd2 328 | ||
340 | #define __NR_epoll_create1 329 | ||
341 | #define __NR_dup3 330 | ||
342 | #define __NR_pipe2 331 | ||
343 | #define __NR_inotify_init1 332 | ||
338 | 344 | ||
339 | #define NR_syscalls 327 | 345 | #define NR_syscalls 333 |
340 | 346 | ||
341 | #ifdef __KERNEL__ | 347 | #ifdef __KERNEL__ |
342 | 348 | ||
diff --git a/include/asm-sh/unistd_64.h b/include/asm-sh/unistd_64.h index 9d21eab52427..7c54e91753c1 100644 --- a/include/asm-sh/unistd_64.h +++ b/include/asm-sh/unistd_64.h | |||
@@ -375,10 +375,16 @@ | |||
375 | #define __NR_fallocate 352 | 375 | #define __NR_fallocate 352 |
376 | #define __NR_timerfd_settime 353 | 376 | #define __NR_timerfd_settime 353 |
377 | #define __NR_timerfd_gettime 354 | 377 | #define __NR_timerfd_gettime 354 |
378 | #define __NR_signalfd4 355 | ||
379 | #define __NR_eventfd2 356 | ||
380 | #define __NR_epoll_create1 357 | ||
381 | #define __NR_dup3 358 | ||
382 | #define __NR_pipe2 359 | ||
383 | #define __NR_inotify_init1 360 | ||
378 | 384 | ||
379 | #ifdef __KERNEL__ | 385 | #ifdef __KERNEL__ |
380 | 386 | ||
381 | #define NR_syscalls 353 | 387 | #define NR_syscalls 361 |
382 | 388 | ||
383 | #define __ARCH_WANT_IPC_PARSE_VERSION | 389 | #define __ARCH_WANT_IPC_PARSE_VERSION |
384 | #define __ARCH_WANT_OLD_READDIR | 390 | #define __ARCH_WANT_OLD_READDIR |