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