sh: wire up sys_preadv/sys_pwritev() syscalls.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 6 Apr 2009 16:00:16 +0000 (09:00 -0700)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 6 Apr 2009 16:00:16 +0000 (09:00 -0700)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/unistd_32.h
arch/sh/include/asm/unistd_64.h
arch/sh/kernel/syscalls_32.S
arch/sh/kernel/syscalls_64.S

index d52c000..2efb819 100644 (file)
 #define __NR_dup3              330
 #define __NR_pipe2             331
 #define __NR_inotify_init1     332
+#define __NR_preadv            333
+#define __NR_pwritev           334
 
-#define NR_syscalls 333
+#define NR_syscalls 335
 
 #ifdef __KERNEL__
 
index 7c54e91..6eb9d29 100644 (file)
 #define __NR_dup3              358
 #define __NR_pipe2             359
 #define __NR_inotify_init1     360
+#define __NR_preadv            361
+#define __NR_pwritev           362
 
 #ifdef __KERNEL__
 
-#define NR_syscalls 361
+#define NR_syscalls 363
 
 #define __ARCH_WANT_IPC_PARSE_VERSION
 #define __ARCH_WANT_OLD_READDIR
index e67c173..05202ed 100644 (file)
@@ -349,3 +349,5 @@ ENTRY(sys_call_table)
        .long sys_dup3                  /* 330 */
        .long sys_pipe2
        .long sys_inotify_init1
+       .long sys_preadv
+       .long sys_writev
index 557cb91..a083609 100644 (file)
@@ -387,3 +387,5 @@ sys_call_table:
        .long sys_dup3
        .long sys_pipe2
        .long sys_inotify_init1         /* 360 */
+       .long sys_preadv
+       .long sys_pwritev