]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
powerpc: Wire up preadv and pwritev
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 6 Apr 2009 17:19:50 +0000 (17:19 +0000)
committerPaul Mackerras <paulus@samba.org>
Tue, 7 Apr 2009 05:19:00 +0000 (15:19 +1000)
[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>
arch/powerpc/include/asm/systbl.h
arch/powerpc/include/asm/unistd.h

index fe166491e9dcf9a821fb10be53678b48a3f3578e..d98a30dfd41ca2e11c8f7212097182ab6caaeaa2 100644 (file)
@@ -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)
index e07d0c76ed779793280480b50032d0ffefe04c54..3f06f8ec81c513639e96194ca7b40262e35cf0ca 100644 (file)
 #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