summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/unistd.h
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2009-04-06 17:19:50 (GMT)
committerPaul Mackerras <paulus@samba.org>2009-04-07 05:19:00 (GMT)
commit1a917bb549deb0b6bcb0321db22e9c27525a1e3d (patch)
treefdb82981b6c0dcd6c624f0cea482b65465eb10ac /arch/powerpc/include/asm/unistd.h
parent7ddb7ad11f862f46d6d55d629a6fb45a5f4cb030 (diff)
downloadlinux-fsl-qoriq-1a917bb549deb0b6bcb0321db22e9c27525a1e3d.tar.xz
powerpc: Wire up preadv and pwritev
[paulus@samba.org: changed to use syscall numbers 320 and 321 since perf_counters is currently using 319.] Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/include/asm/unistd.h')
-rw-r--r--arch/powerpc/include/asm/unistd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/unistd.h b/arch/powerpc/include/asm/unistd.h
index e07d0c7..3f06f8e 100644
--- a/arch/powerpc/include/asm/unistd.h
+++ b/arch/powerpc/include/asm/unistd.h
@@ -341,10 +341,12 @@
#define __NR_dup3 316
#define __NR_pipe2 317
#define __NR_inotify_init1 318
+#define __NR_preadv 320
+#define __NR_pwritev 321
#ifdef __KERNEL__
-#define __NR_syscalls 319
+#define __NR_syscalls 322
#define __NR__exit __NR_exit
#define NR_syscalls __NR_syscalls