]> git.karo-electronics.de Git - linux-beck.git/commitdiff
xtensa: wire up new syscalls
authorMax Filippov <jcmvbkbc@gmail.com>
Sun, 31 Jul 2016 03:49:45 +0000 (06:49 +0300)
committerMax Filippov <jcmvbkbc@gmail.com>
Sun, 31 Jul 2016 03:50:32 +0000 (06:50 +0300)
Wire up userfaultfd, membarrier, mlock2, copy_file_range, preadv2, pwritev2

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/include/uapi/asm/unistd.h

index b95c30594355a47b507f25ba0e45a043755a5502..de9b14b2d348b84ea078e412d3d9f3883e444cb4 100644 (file)
@@ -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