Skip to content

Commit

Permalink
MN10300: Wire up missing system calls
Browse files Browse the repository at this point in the history
Wire up missing system calls 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 15, 2009
1 parent 3bb4e15 commit 76d320a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/mn10300/include/asm/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,8 @@
#define __NR_dup3 331
#define __NR_pipe2 332
#define __NR_inotify_init1 333
#define __NR_preadv 334
#define __NR_pwritev 335

#ifdef __KERNEL__

Expand Down
2 changes: 2 additions & 0 deletions arch/mn10300/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -723,6 +723,8 @@ ENTRY(sys_call_table)
.long sys_dup3
.long sys_pipe2
.long sys_inotify_init1
.long sys_preadv
.long sys_pwritev /* 335 */


nr_syscalls=(.-sys_call_table)/4

0 comments on commit 76d320a

Please sign in to comment.