summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/include/uapi/asm
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2016-07-31 06:49:45 +0300
committerMax Filippov <jcmvbkbc@gmail.com>2016-07-31 06:50:32 +0300
commitd8d2f7f64592f3e8c51dac6d20aed044dca4009a (patch)
tree5574ca0fc9b32a49cf1381728c89a98e5fe39d88 /arch/xtensa/include/uapi/asm
parent4e7c84ec045921dacc78d36295e2e61390249665 (diff)
downloadop-kernel-dev-d8d2f7f64592f3e8c51dac6d20aed044dca4009a.zip
op-kernel-dev-d8d2f7f64592f3e8c51dac6d20aed044dca4009a.tar.gz
xtensa: wire up new syscalls
Wire up userfaultfd, membarrier, mlock2, copy_file_range, preadv2, pwritev2 Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/include/uapi/asm')
-rw-r--r--arch/xtensa/include/uapi/asm/unistd.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/arch/xtensa/include/uapi/asm/unistd.h b/arch/xtensa/include/uapi/asm/unistd.h
index b95c305..de9b14b 100644
--- a/arch/xtensa/include/uapi/asm/unistd.h
+++ b/arch/xtensa/include/uapi/asm/unistd.h
@@ -754,7 +754,20 @@ __SYSCALL(340, sys_bpf, 3)
#define __NR_execveat 341
__SYSCALL(341, sys_execveat, 5)
-#define __NR_syscall_count 342
+#define __NR_userfaultfd 342
+__SYSCALL(342, sys_userfaultfd, 1)
+#define __NR_membarrier 343
+__SYSCALL(343, sys_membarrier, 2)
+#define __NR_mlock2 344
+__SYSCALL(344, sys_mlock2, 3)
+#define __NR_copy_file_range 345
+__SYSCALL(345, sys_copy_file_range, 6)
+#define __NR_preadv2 346
+__SYSCALL(346, sys_preadv2, 6)
+#define __NR_pwritev2 347
+__SYSCALL(347, sys_pwritev2, 6)
+
+#define __NR_syscall_count 348
/*
* sysxtensa syscall handler
OpenPOWER on IntegriCloud