m68k,m68knommu: Wire up preadv and pwritev

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Greg Ungerer <gerg@uclinux.org>
This commit is contained in:
Geert Uytterhoeven
2009-04-09 22:23:51 +02:00
parent 2d138ae099
commit cc7c0fa3b9
3 changed files with 7 additions and 1 deletions

View File

@ -332,10 +332,12 @@
#define __NR_dup3 326 #define __NR_dup3 326
#define __NR_pipe2 327 #define __NR_pipe2 327
#define __NR_inotify_init1 328 #define __NR_inotify_init1 328
#define __NR_preadv 329
#define __NR_pwritev 330
#ifdef __KERNEL__ #ifdef __KERNEL__
#define NR_syscalls 329 #define NR_syscalls 331
#define __ARCH_WANT_IPC_PARSE_VERSION #define __ARCH_WANT_IPC_PARSE_VERSION
#define __ARCH_WANT_OLD_READDIR #define __ARCH_WANT_OLD_READDIR

View File

@ -753,4 +753,6 @@ sys_call_table:
.long sys_dup3 .long sys_dup3
.long sys_pipe2 .long sys_pipe2
.long sys_inotify_init1 .long sys_inotify_init1
.long sys_preadv
.long sys_pwritev /* 330 */

View File

@ -347,6 +347,8 @@ ENTRY(sys_call_table)
.long sys_dup3 .long sys_dup3
.long sys_pipe2 .long sys_pipe2
.long sys_inotify_init1 .long sys_inotify_init1
.long sys_preadv
.long sys_pwritev /* 330 */
.rept NR_syscalls-(.-sys_call_table)/4 .rept NR_syscalls-(.-sys_call_table)/4
.long sys_ni_syscall .long sys_ni_syscall