Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

xtensa: wire up new syscalls

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

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>

+14 -1
+14 -1
arch/xtensa/include/uapi/asm/unistd.h
··· 754 754 #define __NR_execveat 341 755 755 __SYSCALL(341, sys_execveat, 5) 756 756 757 - #define __NR_syscall_count 342 757 + #define __NR_userfaultfd 342 758 + __SYSCALL(342, sys_userfaultfd, 1) 759 + #define __NR_membarrier 343 760 + __SYSCALL(343, sys_membarrier, 2) 761 + #define __NR_mlock2 344 762 + __SYSCALL(344, sys_mlock2, 3) 763 + #define __NR_copy_file_range 345 764 + __SYSCALL(345, sys_copy_file_range, 6) 765 + #define __NR_preadv2 346 766 + __SYSCALL(346, sys_preadv2, 6) 767 + #define __NR_pwritev2 347 768 + __SYSCALL(347, sys_pwritev2, 6) 769 + 770 + #define __NR_syscall_count 348 758 771 759 772 /* 760 773 * sysxtensa syscall handler