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

microblaze: Add missing syscalls

The patch adds new syscalls copy_file_range,
preadv2, pwritev2, pkey_mprotect, pkey_alloc,
pkey_free

Signed-off-by: Michal Simek <michal.simek@xilinx.com>

+13 -1
+1 -1
arch/microblaze/include/asm/unistd.h
··· 38 38 39 39 #endif /* __ASSEMBLY__ */ 40 40 41 - #define __NR_syscalls 392 41 + #define __NR_syscalls 398 42 42 43 43 #endif /* _ASM_MICROBLAZE_UNISTD_H */
+6
arch/microblaze/include/uapi/asm/unistd.h
··· 407 407 #define __NR_userfaultfd 389 408 408 #define __NR_membarrier 390 409 409 #define __NR_mlock2 391 410 + #define __NR_copy_file_range 392 411 + #define __NR_preadv2 393 412 + #define __NR_pwritev2 394 413 + #define __NR_pkey_mprotect 395 414 + #define __NR_pkey_alloc 396 415 + #define __NR_pkey_free 397 410 416 411 417 #endif /* _UAPI_ASM_MICROBLAZE_UNISTD_H */
+6
arch/microblaze/kernel/syscall_table.S
··· 392 392 .long sys_userfaultfd 393 393 .long sys_membarrier /* 390 */ 394 394 .long sys_mlock2 395 + .long sys_copy_file_range 396 + .long sys_preadv2 397 + .long sys_pwritev2 398 + .long sys_pkey_mprotect /* 395 */ 399 + .long sys_pkey_alloc 400 + .long sys_pkey_free