Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d8d2f7f6 authored by Max Filippov's avatar Max Filippov
Browse files

xtensa: wire up new syscalls



Wire up userfaultfd, membarrier, mlock2, copy_file_range, preadv2, pwritev2

Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
parent 4e7c84ec
Loading
Loading
Loading
Loading
+14 −1
Original line number Diff line number Diff line
@@ -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