microblaze: Add missing preadv and pwritev syscalls
authorMichal Simek <monstr@monstr.eu>
Thu, 16 Apr 2009 09:29:13 +0000 (11:29 +0200)
committerMichal Simek <monstr@monstr.eu>
Thu, 23 Apr 2009 14:09:17 +0000 (16:09 +0200)
Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/include/asm/unistd.h
arch/microblaze/kernel/syscall_table.S

index d9d3903..b5e2f5f 100644 (file)
 #define __NR_sendmsg           360 /* new */
 #define __NR_recvmsg           361 /* new */
 #define __NR_accept04          362 /* new */
+#define __NR_preadv            363 /* new */
+#define __NR_pwritev           364 /* new */
 
-#define __NR_syscalls          363
+#define __NR_syscalls          365
 
 #ifdef __KERNEL__
 #ifndef __ASSEMBLY__
index 529b0db..3bb42ec 100644 (file)
@@ -363,3 +363,5 @@ ENTRY(sys_call_table)
        .long sys_sendmsg               /* 360 */
        .long sys_recvmsg
        .long sys_ni_syscall
+       .long sys_ni_syscall
+       .long sys_ni_syscall