diff options
author | David Howells <dhowells@redhat.com> | 2008-07-31 08:46:33 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-08-01 16:03:49 -0400 |
commit | 784dd7b64ca661722f539db906d56ce54906f2fb (patch) | |
tree | 6423423c39f5628e41361bf3d7becb29b21552db | |
parent | 02c363808981b67e631fe71cc7e952497f761bef (diff) |
FRV: Wire up new system calls
Wire up for FRV the system calls that were added in the last merge window.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | arch/frv/kernel/entry.S | 7 | ||||
-rw-r--r-- | include/asm-frv/unistd.h | 8 |
2 files changed, 13 insertions, 2 deletions
diff --git a/arch/frv/kernel/entry.S b/arch/frv/kernel/entry.S index b8a4b94779b1..99060ab507ee 100644 --- a/arch/frv/kernel/entry.S +++ b/arch/frv/kernel/entry.S | |||
@@ -1519,6 +1519,11 @@ sys_call_table: | |||
1519 | .long sys_fallocate | 1519 | .long sys_fallocate |
1520 | .long sys_timerfd_settime /* 325 */ | 1520 | .long sys_timerfd_settime /* 325 */ |
1521 | .long sys_timerfd_gettime | 1521 | .long sys_timerfd_gettime |
1522 | 1522 | .long sys_signalfd4 | |
1523 | .long sys_eventfd2 | ||
1524 | .long sys_epoll_create1 | ||
1525 | .long sys_dup3 /* 330 */ | ||
1526 | .long sys_pipe2 | ||
1527 | .long sys_inotify_init1 | ||
1523 | 1528 | ||
1524 | syscall_table_size = (. - sys_call_table) | 1529 | syscall_table_size = (. - sys_call_table) |
diff --git a/include/asm-frv/unistd.h b/include/asm-frv/unistd.h index f184eb8c047c..edcfaf5f0414 100644 --- a/include/asm-frv/unistd.h +++ b/include/asm-frv/unistd.h | |||
@@ -333,10 +333,16 @@ | |||
333 | #define __NR_fallocate 324 | 333 | #define __NR_fallocate 324 |
334 | #define __NR_timerfd_settime 325 | 334 | #define __NR_timerfd_settime 325 |
335 | #define __NR_timerfd_gettime 326 | 335 | #define __NR_timerfd_gettime 326 |
336 | #define __NR_signalfd4 327 | ||
337 | #define __NR_eventfd2 328 | ||
338 | #define __NR_epoll_create1 329 | ||
339 | #define __NR_dup3 330 | ||
340 | #define __NR_pipe2 331 | ||
341 | #define __NR_inotify_init1 332 | ||
336 | 342 | ||
337 | #ifdef __KERNEL__ | 343 | #ifdef __KERNEL__ |
338 | 344 | ||
339 | #define NR_syscalls 325 | 345 | #define NR_syscalls 333 |
340 | 346 | ||
341 | #define __ARCH_WANT_IPC_PARSE_VERSION | 347 | #define __ARCH_WANT_IPC_PARSE_VERSION |
342 | /* #define __ARCH_WANT_OLD_READDIR */ | 348 | /* #define __ARCH_WANT_OLD_READDIR */ |