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

MIPS: Hookup new syscalls sys_rt_tgsigqueueinfo and sys_perf_counter_open.

[Ralf: I fixed up the numbering in the comment in scall64-n32.S.]

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

authored by

David Daney and committed by
Ralf Baechle
69f16c9a d7e014db

+20 -6
+12 -6
arch/mips/include/asm/unistd.h
··· 352 352 #define __NR_inotify_init1 (__NR_Linux + 329) 353 353 #define __NR_preadv (__NR_Linux + 330) 354 354 #define __NR_pwritev (__NR_Linux + 331) 355 + #define __NR_rt_tgsigqueueinfo (__NR_Linux + 332) 356 + #define __NR_perf_counter_open (__NR_Linux + 333) 355 357 356 358 /* 357 359 * Offset of the last Linux o32 flavoured syscall 358 360 */ 359 - #define __NR_Linux_syscalls 331 361 + #define __NR_Linux_syscalls 333 360 362 361 363 #endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */ 362 364 363 365 #define __NR_O32_Linux 4000 364 - #define __NR_O32_Linux_syscalls 331 366 + #define __NR_O32_Linux_syscalls 333 365 367 366 368 #if _MIPS_SIM == _MIPS_SIM_ABI64 367 369 ··· 662 660 #define __NR_inotify_init1 (__NR_Linux + 288) 663 661 #define __NR_preadv (__NR_Linux + 289) 664 662 #define __NR_pwritev (__NR_Linux + 290) 663 + #define __NR_rt_tgsigqueueinfo (__NR_Linux + 291) 664 + #define __NR_perf_counter_open (__NR_Linux + 292) 665 665 666 666 /* 667 667 * Offset of the last Linux 64-bit flavoured syscall 668 668 */ 669 - #define __NR_Linux_syscalls 290 669 + #define __NR_Linux_syscalls 292 670 670 671 671 #endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */ 672 672 673 673 #define __NR_64_Linux 5000 674 - #define __NR_64_Linux_syscalls 290 674 + #define __NR_64_Linux_syscalls 292 675 675 676 676 #if _MIPS_SIM == _MIPS_SIM_NABI32 677 677 ··· 976 972 #define __NR_inotify_init1 (__NR_Linux + 292) 977 973 #define __NR_preadv (__NR_Linux + 293) 978 974 #define __NR_pwritev (__NR_Linux + 294) 975 + #define __NR_rt_tgsigqueueinfo (__NR_Linux + 295) 976 + #define __NR_perf_counter_open (__NR_Linux + 296) 979 977 980 978 /* 981 979 * Offset of the last N32 flavoured syscall 982 980 */ 983 - #define __NR_Linux_syscalls 294 981 + #define __NR_Linux_syscalls 296 984 982 985 983 #endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */ 986 984 987 985 #define __NR_N32_Linux 6000 988 - #define __NR_N32_Linux_syscalls 294 986 + #define __NR_N32_Linux_syscalls 296 989 987 990 988 #ifdef __KERNEL__ 991 989
+2
arch/mips/kernel/scall32-o32.S
··· 652 652 sys sys_inotify_init1 1 653 653 sys sys_preadv 6 /* 4330 */ 654 654 sys sys_pwritev 6 655 + sys sys_rt_tgsigqueueinfo 4 656 + sys sys_perf_counter_open 5 655 657 .endm 656 658 657 659 /* We pre-compute the number of _instruction_ bytes needed to
+2
arch/mips/kernel/scall64-64.S
··· 489 489 PTR sys_inotify_init1 490 490 PTR sys_preadv 491 491 PTR sys_pwritev /* 5390 */ 492 + PTR sys_rt_tgsigqueueinfo 493 + PTR sys_perf_counter_open 492 494 .size sys_call_table,.-sys_call_table
+2
arch/mips/kernel/scall64-n32.S
··· 415 415 PTR sys_inotify_init1 416 416 PTR sys_preadv 417 417 PTR sys_pwritev 418 + PTR compat_sys_rt_tgsigqueueinfo /* 5295 */ 419 + PTR sys_perf_counter_open 418 420 .size sysn32_call_table,.-sysn32_call_table
+2
arch/mips/kernel/scall64-o32.S
··· 535 535 PTR sys_inotify_init1 536 536 PTR compat_sys_preadv /* 4330 */ 537 537 PTR compat_sys_pwritev 538 + PTR compat_sys_rt_tgsigqueueinfo 539 + PTR sys_perf_counter_open 538 540 .size sys_call_table,.-sys_call_table