Skip to content

Commit

Permalink
Blackfin: hook up preadv/pwritev syscalls
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
  • Loading branch information
Mike Frysinger committed May 27, 2009
1 parent cd86a53 commit 7a1450f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion arch/blackfin/include/asm/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -378,8 +378,10 @@
#define __NR_dup3 363
#define __NR_pipe2 364
#define __NR_inotify_init1 365
#define __NR_preadv 366
#define __NR_pwritev 367

#define __NR_syscall 366
#define __NR_syscall 368
#define NR_syscalls __NR_syscall

/* Old optional stuff no one actually uses */
Expand Down
2 changes: 2 additions & 0 deletions arch/blackfin/mach-common/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -1581,6 +1581,8 @@ ENTRY(_sys_call_table)
.long _sys_dup3
.long _sys_pipe2
.long _sys_inotify_init1 /* 365 */
.long _sys_preadv
.long _sys_pwritev

.rept NR_syscalls-(.-_sys_call_table)/4
.long _sys_ni_syscall
Expand Down

0 comments on commit 7a1450f

Please sign in to comment.