Skip to content

Commit

Permalink
parisc: wire up preadv/pwritev syscalls
Browse files Browse the repository at this point in the history
Generic compat handlers look appropriate, so use those.

Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
  • Loading branch information
Kyle McMartin committed Jul 3, 2009
1 parent d888a4c commit 90eab5e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion arch/parisc/include/asm/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -807,8 +807,10 @@
#define __NR_dup3 (__NR_Linux + 312)
#define __NR_pipe2 (__NR_Linux + 313)
#define __NR_inotify_init1 (__NR_Linux + 314)
#define __NR_preadv (__NR_Linux + 315)
#define __NR_pwritev (__NR_Linux + 316)

#define __NR_Linux_syscalls (__NR_inotify_init1 + 1)
#define __NR_Linux_syscalls (__NR_pwritev + 1)


#define __IGNORE_select /* newselect */
Expand Down
2 changes: 2 additions & 0 deletions arch/parisc/kernel/syscall_table.S
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,8 @@
ENTRY_SAME(dup3)
ENTRY_SAME(pipe2)
ENTRY_SAME(inotify_init1)
ENTRY_COMP(preadv)
ENTRY_COMP(pwritev)

/* Nothing yet */

Expand Down

0 comments on commit 90eab5e

Please sign in to comment.