MN10300: Wire up missing system calls
authorDavid Howells <dhowells@redhat.com>
Wed, 15 Apr 2009 18:34:46 +0000 (19:34 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 15 Apr 2009 20:55:13 +0000 (13:55 -0700)
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>
arch/mn10300/include/asm/unistd.h
arch/mn10300/kernel/entry.S

index 543a4f9..fef5b43 100644 (file)
 #define __NR_dup3              331
 #define __NR_pipe2             332
 #define __NR_inotify_init1     333
+#define __NR_preadv            334
+#define __NR_pwritev           335
 
 #ifdef __KERNEL__
 
index 34ab5a2..3dc3e46 100644 (file)
@@ -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