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

MIPS: Wire up copy_file_range syscall.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

+13 -6
+9 -6
arch/mips/include/uapi/asm/unistd.h
··· 380 380 #define __NR_userfaultfd (__NR_Linux + 357) 381 381 #define __NR_membarrier (__NR_Linux + 358) 382 382 #define __NR_mlock2 (__NR_Linux + 359) 383 + #define __NR_copy_file_range (__NR_Linux + 360) 383 384 384 385 /* 385 386 * Offset of the last Linux o32 flavoured syscall 386 387 */ 387 - #define __NR_Linux_syscalls 359 388 + #define __NR_Linux_syscalls 360 388 389 389 390 #endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */ 390 391 391 392 #define __NR_O32_Linux 4000 392 - #define __NR_O32_Linux_syscalls 359 393 + #define __NR_O32_Linux_syscalls 360 393 394 394 395 #if _MIPS_SIM == _MIPS_SIM_ABI64 395 396 ··· 718 717 #define __NR_userfaultfd (__NR_Linux + 317) 719 718 #define __NR_membarrier (__NR_Linux + 318) 720 719 #define __NR_mlock2 (__NR_Linux + 319) 720 + #define __NR_copy_file_range (__NR_Linux + 320) 721 721 722 722 /* 723 723 * Offset of the last Linux 64-bit flavoured syscall 724 724 */ 725 - #define __NR_Linux_syscalls 319 725 + #define __NR_Linux_syscalls 320 726 726 727 727 #endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */ 728 728 729 729 #define __NR_64_Linux 5000 730 - #define __NR_64_Linux_syscalls 319 730 + #define __NR_64_Linux_syscalls 320 731 731 732 732 #if _MIPS_SIM == _MIPS_SIM_NABI32 733 733 ··· 1060 1058 #define __NR_userfaultfd (__NR_Linux + 321) 1061 1059 #define __NR_membarrier (__NR_Linux + 322) 1062 1060 #define __NR_mlock2 (__NR_Linux + 323) 1061 + #define __NR_copy_file_range (__NR_Linux + 324) 1063 1062 1064 1063 /* 1065 1064 * Offset of the last N32 flavoured syscall 1066 1065 */ 1067 - #define __NR_Linux_syscalls 323 1066 + #define __NR_Linux_syscalls 324 1068 1067 1069 1068 #endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */ 1070 1069 1071 1070 #define __NR_N32_Linux 6000 1072 - #define __NR_N32_Linux_syscalls 323 1071 + #define __NR_N32_Linux_syscalls 324 1073 1072 1074 1073 #endif /* _UAPI_ASM_UNISTD_H */
+1
arch/mips/kernel/scall32-o32.S
··· 595 595 PTR sys_userfaultfd 596 596 PTR sys_membarrier 597 597 PTR sys_mlock2 598 + PTR sys_copy_file_range /* 4360 */
+1
arch/mips/kernel/scall64-64.S
··· 433 433 PTR sys_userfaultfd 434 434 PTR sys_membarrier 435 435 PTR sys_mlock2 436 + PTR sys_copy_file_range /* 5320 */ 436 437 .size sys_call_table,.-sys_call_table
+1
arch/mips/kernel/scall64-n32.S
··· 423 423 PTR sys_userfaultfd 424 424 PTR sys_membarrier 425 425 PTR sys_mlock2 426 + PTR sys_copy_file_range 426 427 .size sysn32_call_table,.-sysn32_call_table
+1
arch/mips/kernel/scall64-o32.S
··· 578 578 PTR sys_userfaultfd 579 579 PTR sys_membarrier 580 580 PTR sys_mlock2 581 + PTR sys_copy_file_range /* 4360 */ 581 582 .size sys32_call_table,.-sys32_call_table