1 --- a/arch/mips/include/asm/unistd.h
2 +++ b/arch/mips/include/asm/unistd.h
4 #define __NR_open_by_handle_at (__NR_Linux + 340)
5 #define __NR_clock_adjtime (__NR_Linux + 341)
6 #define __NR_syncfs (__NR_Linux + 342)
7 -#define __NR_setns (__NR_Linux + 343)
8 +#define __NR_sendmmsg (__NR_Linux + 343)
9 +#define __NR_setns (__NR_Linux + 344)
12 * Offset of the last Linux o32 flavoured syscall
14 -#define __NR_Linux_syscalls 343
15 +#define __NR_Linux_syscalls 344
17 #endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */
19 #define __NR_O32_Linux 4000
20 -#define __NR_O32_Linux_syscalls 343
21 +#define __NR_O32_Linux_syscalls 344
23 #if _MIPS_SIM == _MIPS_SIM_ABI64
25 --- a/arch/mips/kernel/scall32-o32.S
26 +++ b/arch/mips/kernel/scall32-o32.S
27 @@ -589,6 +589,7 @@ einval: li v0, -ENOSYS
28 sys sys_open_by_handle_at 3 /* 4340 */
29 sys sys_clock_adjtime 2
35 --- a/arch/mips/kernel/scall64-64.S
36 +++ b/arch/mips/kernel/scall64-64.S
37 @@ -428,5 +428,6 @@ sys_call_table:
38 PTR sys_open_by_handle_at
39 PTR sys_clock_adjtime /* 5300 */
43 .size sys_call_table,.-sys_call_table
44 --- a/arch/mips/kernel/scall64-n32.S
45 +++ b/arch/mips/kernel/scall64-n32.S
46 @@ -428,5 +428,6 @@ EXPORT(sysn32_call_table)
47 PTR sys_open_by_handle_at
48 PTR compat_sys_clock_adjtime /* 6305 */
50 + PTR compat_sys_sendmmsg
52 .size sysn32_call_table,.-sysn32_call_table
53 --- a/arch/mips/kernel/scall64-o32.S
54 +++ b/arch/mips/kernel/scall64-o32.S
55 @@ -546,5 +546,6 @@ sys_call_table:
56 PTR compat_sys_open_by_handle_at /* 4340 */
57 PTR compat_sys_clock_adjtime
59 + PTR compat_sys_sendmmsg
61 .size sys_call_table,.-sys_call_table