Skip to content

Commit

Permalink
FRV: Wire up new syscalls
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Howells authored and Linus Torvalds committed Apr 27, 2009
1 parent 9b820a8 commit e37469f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion arch/frv/include/asm/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
2 changes: 2 additions & 0 deletions arch/frv/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit e37469f

Please sign in to comment.