aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorKyle McMartin <kyle@mcmartin.ca>2009-04-27 08:29:12 -0400
committerKyle McMartin <kyle@mcmartin.ca>2009-07-02 23:34:05 -0400
commit90eab5e09de20e8d991bbb11f6edfb573f906352 (patch)
tree5e3c98d5459b73a245e6ca88eae5183ad0ee0753 /arch
parentd888a4c76c51092993643f8992bf55b3c28da483 (diff)
parisc: wire up preadv/pwritev syscalls
Generic compat handlers look appropriate, so use those. Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
Diffstat (limited to 'arch')
-rw-r--r--arch/parisc/include/asm/unistd.h4
-rw-r--r--arch/parisc/kernel/syscall_table.S2
2 files changed, 5 insertions, 1 deletions
diff --git a/arch/parisc/include/asm/unistd.h b/arch/parisc/include/asm/unistd.h
index ef26b009dc5d..a3c341976dc2 100644
--- a/arch/parisc/include/asm/unistd.h
+++ b/arch/parisc/include/asm/unistd.h
@@ -807,8 +807,10 @@
807#define __NR_dup3 (__NR_Linux + 312) 807#define __NR_dup3 (__NR_Linux + 312)
808#define __NR_pipe2 (__NR_Linux + 313) 808#define __NR_pipe2 (__NR_Linux + 313)
809#define __NR_inotify_init1 (__NR_Linux + 314) 809#define __NR_inotify_init1 (__NR_Linux + 314)
810#define __NR_preadv (__NR_Linux + 315)
811#define __NR_pwritev (__NR_Linux + 316)
810 812
811#define __NR_Linux_syscalls (__NR_inotify_init1 + 1) 813#define __NR_Linux_syscalls (__NR_pwritev + 1)
812 814
813 815
814#define __IGNORE_select /* newselect */ 816#define __IGNORE_select /* newselect */
diff --git a/arch/parisc/kernel/syscall_table.S b/arch/parisc/kernel/syscall_table.S
index 03b9a01bc16c..6a6296148e5d 100644
--- a/arch/parisc/kernel/syscall_table.S
+++ b/arch/parisc/kernel/syscall_table.S
@@ -413,6 +413,8 @@
413 ENTRY_SAME(dup3) 413 ENTRY_SAME(dup3)
414 ENTRY_SAME(pipe2) 414 ENTRY_SAME(pipe2)
415 ENTRY_SAME(inotify_init1) 415 ENTRY_SAME(inotify_init1)
416 ENTRY_COMP(preadv)
417 ENTRY_COMP(pwritev)
416 418
417 /* Nothing yet */ 419 /* Nothing yet */
418 420