Skip to content

Commit

Permalink
powerpc: Wire up preadv and pwritev
Browse files Browse the repository at this point in the history
[paulus@samba.org: changed to use syscall numbers 320 and 321 since
 perf_counters is currently using 319.]

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Stephen Rothwell authored and Paul Mackerras committed Apr 7, 2009
1 parent 7ddb7ad commit 1a917bb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions arch/powerpc/include/asm/systbl.h
Original file line number Diff line number Diff line change
Expand Up @@ -322,3 +322,6 @@ SYSCALL_SPU(epoll_create1)
SYSCALL_SPU(dup3)
SYSCALL_SPU(pipe2)
SYSCALL(inotify_init1)
SYSCALL(ni_syscall)
COMPAT_SYS_SPU(preadv)
COMPAT_SYS_SPU(pwritev)
4 changes: 3 additions & 1 deletion arch/powerpc/include/asm/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -341,10 +341,12 @@
#define __NR_dup3 316
#define __NR_pipe2 317
#define __NR_inotify_init1 318
#define __NR_preadv 320
#define __NR_pwritev 321

#ifdef __KERNEL__

#define __NR_syscalls 319
#define __NR_syscalls 322

#define __NR__exit __NR_exit
#define NR_syscalls __NR_syscalls
Expand Down

0 comments on commit 1a917bb

Please sign in to comment.