MIPS: Wire up accept4 syscall.

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

+13 -6
+9 -6
arch/mips/include/asm/unistd.h
··· 354 354 #define __NR_pwritev (__NR_Linux + 331) 355 355 #define __NR_rt_tgsigqueueinfo (__NR_Linux + 332) 356 356 #define __NR_perf_counter_open (__NR_Linux + 333) 357 + #define __NR_accept4 (__NR_Linux + 334) 357 358 358 359 /* 359 360 * Offset of the last Linux o32 flavoured syscall 360 361 */ 361 - #define __NR_Linux_syscalls 333 362 + #define __NR_Linux_syscalls 334 362 363 363 364 #endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */ 364 365 365 366 #define __NR_O32_Linux 4000 366 - #define __NR_O32_Linux_syscalls 333 367 + #define __NR_O32_Linux_syscalls 334 367 368 368 369 #if _MIPS_SIM == _MIPS_SIM_ABI64 369 370 ··· 665 664 #define __NR_pwritev (__NR_Linux + 290) 666 665 #define __NR_rt_tgsigqueueinfo (__NR_Linux + 291) 667 666 #define __NR_perf_counter_open (__NR_Linux + 292) 667 + #define __NR_accept4 (__NR_Linux + 293) 668 668 669 669 /* 670 670 * Offset of the last Linux 64-bit flavoured syscall 671 671 */ 672 - #define __NR_Linux_syscalls 292 672 + #define __NR_Linux_syscalls 293 673 673 674 674 #endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */ 675 675 676 676 #define __NR_64_Linux 5000 677 - #define __NR_64_Linux_syscalls 292 677 + #define __NR_64_Linux_syscalls 293 678 678 679 679 #if _MIPS_SIM == _MIPS_SIM_NABI32 680 680 ··· 980 978 #define __NR_pwritev (__NR_Linux + 294) 981 979 #define __NR_rt_tgsigqueueinfo (__NR_Linux + 295) 982 980 #define __NR_perf_counter_open (__NR_Linux + 296) 981 + #define __NR_accept4 (__NR_Linux + 297) 983 982 984 983 /* 985 984 * Offset of the last N32 flavoured syscall 986 985 */ 987 - #define __NR_Linux_syscalls 296 986 + #define __NR_Linux_syscalls 297 988 987 989 988 #endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */ 990 989 991 990 #define __NR_N32_Linux 6000 992 - #define __NR_N32_Linux_syscalls 296 991 + #define __NR_N32_Linux_syscalls 297 993 992 994 993 #ifdef __KERNEL__ 995 994
+1
arch/mips/kernel/scall32-o32.S
··· 654 654 sys sys_pwritev 6 655 655 sys sys_rt_tgsigqueueinfo 4 656 656 sys sys_perf_counter_open 5 657 + sys sys_accept4 4 657 658 .endm 658 659 659 660 /* We pre-compute the number of _instruction_ bytes needed to
+1
arch/mips/kernel/scall64-64.S
··· 491 491 PTR sys_pwritev /* 5390 */ 492 492 PTR sys_rt_tgsigqueueinfo 493 493 PTR sys_perf_counter_open 494 + PTR sys_accept4 494 495 .size sys_call_table,.-sys_call_table
+1
arch/mips/kernel/scall64-n32.S
··· 417 417 PTR sys_pwritev 418 418 PTR compat_sys_rt_tgsigqueueinfo /* 5295 */ 419 419 PTR sys_perf_counter_open 420 + PTR sys_accept4 420 421 .size sysn32_call_table,.-sysn32_call_table
+1
arch/mips/kernel/scall64-o32.S
··· 537 537 PTR compat_sys_pwritev 538 538 PTR compat_sys_rt_tgsigqueueinfo 539 539 PTR sys_perf_counter_open 540 + PTR sys_accept4 540 541 .size sys_call_table,.-sys_call_table