diff options
author | David Howells <dhowells@redhat.com> | 2009-04-27 11:55:17 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-27 08:04:48 -0700 |
commit | e37469f68a15feb40ee9f6325d1e1793f90afe39 (patch) | |
tree | 849e9c7b0dc7d4cc3c8216f2445d6d1b9e2a039c /arch/frv | |
parent | 9b820a8c5f6c9b341b9091bb04d214331c4f897f (diff) | |
download | linux-3.10-e37469f68a15feb40ee9f6325d1e1793f90afe39.tar.gz linux-3.10-e37469f68a15feb40ee9f6325d1e1793f90afe39.tar.bz2 linux-3.10-e37469f68a15feb40ee9f6325d1e1793f90afe39.zip |
FRV: Wire up new syscalls
Wire up new system calls for the FRV arch (preadv and pwritev).
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/frv')
-rw-r--r-- | arch/frv/include/asm/unistd.h | 4 | ||||
-rw-r--r-- | arch/frv/kernel/entry.S | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/arch/frv/include/asm/unistd.h b/arch/frv/include/asm/unistd.h index edcfaf5f041..96d78d5d2c4 100644 --- a/arch/frv/include/asm/unistd.h +++ b/arch/frv/include/asm/unistd.h @@ -339,10 +339,12 @@ #define __NR_dup3 330 #define __NR_pipe2 331 #define __NR_inotify_init1 332 +#define __NR_preadv 333 +#define __NR_pwritev 334 #ifdef __KERNEL__ -#define NR_syscalls 333 +#define NR_syscalls 335 #define __ARCH_WANT_IPC_PARSE_VERSION /* #define __ARCH_WANT_OLD_READDIR */ diff --git a/arch/frv/kernel/entry.S b/arch/frv/kernel/entry.S index 99060ab507e..1da523b3298 100644 --- a/arch/frv/kernel/entry.S +++ b/arch/frv/kernel/entry.S @@ -1525,5 +1525,7 @@ sys_call_table: .long sys_dup3 /* 330 */ .long sys_pipe2 .long sys_inotify_init1 + .long sys_preadv + .long sys_pwritev syscall_table_size = (. - sys_call_table) |