diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2009-04-09 16:23:51 -0400 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2009-04-22 14:39:49 -0400 |
commit | cc7c0fa3b90a047751f50371639b90dc119e63ea (patch) | |
tree | be2c946cb62a6199714ffbd3a8a31bcd80100b23 /arch/m68k | |
parent | 2d138ae09935cec055f65d18300727a7a46d92b9 (diff) |
m68k,m68knommu: Wire up preadv and pwritev
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k')
-rw-r--r-- | arch/m68k/include/asm/unistd.h | 4 | ||||
-rw-r--r-- | arch/m68k/kernel/entry.S | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/arch/m68k/include/asm/unistd.h b/arch/m68k/include/asm/unistd.h index 3c19027331fa..aa29a8640f74 100644 --- a/arch/m68k/include/asm/unistd.h +++ b/arch/m68k/include/asm/unistd.h | |||
@@ -332,10 +332,12 @@ | |||
332 | #define __NR_dup3 326 | 332 | #define __NR_dup3 326 |
333 | #define __NR_pipe2 327 | 333 | #define __NR_pipe2 327 |
334 | #define __NR_inotify_init1 328 | 334 | #define __NR_inotify_init1 328 |
335 | #define __NR_preadv 329 | ||
336 | #define __NR_pwritev 330 | ||
335 | 337 | ||
336 | #ifdef __KERNEL__ | 338 | #ifdef __KERNEL__ |
337 | 339 | ||
338 | #define NR_syscalls 329 | 340 | #define NR_syscalls 331 |
339 | 341 | ||
340 | #define __ARCH_WANT_IPC_PARSE_VERSION | 342 | #define __ARCH_WANT_IPC_PARSE_VERSION |
341 | #define __ARCH_WANT_OLD_READDIR | 343 | #define __ARCH_WANT_OLD_READDIR |
diff --git a/arch/m68k/kernel/entry.S b/arch/m68k/kernel/entry.S index 5c332f2b9b83..8744f60c07a9 100644 --- a/arch/m68k/kernel/entry.S +++ b/arch/m68k/kernel/entry.S | |||
@@ -753,4 +753,6 @@ sys_call_table: | |||
753 | .long sys_dup3 | 753 | .long sys_dup3 |
754 | .long sys_pipe2 | 754 | .long sys_pipe2 |
755 | .long sys_inotify_init1 | 755 | .long sys_inotify_init1 |
756 | .long sys_preadv | ||
757 | .long sys_pwritev /* 330 */ | ||
756 | 758 | ||