summaryrefslogtreecommitdiff
path: root/include/asm-x86_64/unistd.h
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2006-02-09 00:35:50 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-02-08 15:52:15 -0800
commit4b88f09364e94b05b66fb1441131e8460495a2f8 (patch)
tree006c9594aa26a8ee6805b337901ecf7823c17dd9 /include/asm-x86_64/unistd.h
parentca76a2f3a5202ec1618cb7e76aa8a573235e469f (diff)
[PATCH] x86-64: Add sys_unshare
Add unshare syscall for x86-64 ppoll/pselect are not ready yet, but add reservations. Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-x86_64/unistd.h')
-rw-r--r--include/asm-x86_64/unistd.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/asm-x86_64/unistd.h b/include/asm-x86_64/unistd.h
index 436d099b5b6b..da0341c57949 100644
--- a/include/asm-x86_64/unistd.h
+++ b/include/asm-x86_64/unistd.h
@@ -599,8 +599,14 @@ __SYSCALL(__NR_readlinkat, sys_readlinkat)
__SYSCALL(__NR_fchmodat, sys_fchmodat)
#define __NR_faccessat 269
__SYSCALL(__NR_faccessat, sys_faccessat)
-
-#define __NR_syscall_max __NR_faccessat
+#define __NR_pselect6 270
+__SYSCALL(__NR_pselect6, sys_ni_syscall) /* for now */
+#define __NR_ppoll 271
+__SYSCALL(__NR_ppoll, sys_ni_syscall) /* for now */
+#define __NR_unshare 272
+__SYSCALL(__NR_unshare, sys_unshare)
+
+#define __NR_syscall_max __NR_unshare
#ifndef __NO_STUBS