[MIPS] Wire up getcpu(2) and epoll_wait(2) syscalls.

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

+20 -6
+2
arch/mips/kernel/scall32-o32.S
··· 654 sys sys_set_robust_list 2 655 sys sys_get_robust_list 3 /* 4310 */ 656 sys sys_ni_syscall 0 657 .endm 658 659 /* We pre-compute the number of _instruction_ bytes needed to
··· 654 sys sys_set_robust_list 2 655 sys sys_get_robust_list 3 /* 4310 */ 656 sys sys_ni_syscall 0 657 + sys sys_getcpu 3 658 + sys sys_epoll_pwait 6 659 .endm 660 661 /* We pre-compute the number of _instruction_ bytes needed to
+2
arch/mips/kernel/scall64-64.S
··· 469 PTR sys_set_robust_list 470 PTR sys_get_robust_list 471 PTR sys_ni_syscall /* 5270 */
··· 469 PTR sys_set_robust_list 470 PTR sys_get_robust_list 471 PTR sys_ni_syscall /* 5270 */ 472 + PTR sys_getcpu 473 + PTR sys_epoll_pwait
+2
arch/mips/kernel/scall64-n32.S
··· 395 PTR compat_sys_set_robust_list 396 PTR compat_sys_get_robust_list 397 PTR sys_ni_syscall
··· 395 PTR compat_sys_set_robust_list 396 PTR compat_sys_get_robust_list 397 PTR sys_ni_syscall 398 + PTR sys_getcpu 399 + PTR sys_epoll_pwait
+2
arch/mips/kernel/scall64-o32.S
··· 517 PTR compat_sys_set_robust_list 518 PTR compat_sys_get_robust_list /* 4310 */ 519 PTR sys_ni_syscall 520 .size sys_call_table,.-sys_call_table
··· 517 PTR compat_sys_set_robust_list 518 PTR compat_sys_get_robust_list /* 4310 */ 519 PTR sys_ni_syscall 520 + PTR sys_getcpu 521 + PTR sys_epoll_pwait 522 .size sys_call_table,.-sys_call_table
+12 -6
include/asm-mips/unistd.h
··· 332 #define __NR_set_robust_list (__NR_Linux + 309) 333 #define __NR_get_robust_list (__NR_Linux + 310) 334 #define __NR_kexec_load (__NR_Linux + 311) 335 336 /* 337 * Offset of the last Linux o32 flavoured syscall 338 */ 339 - #define __NR_Linux_syscalls 311 340 341 #endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */ 342 343 #define __NR_O32_Linux 4000 344 - #define __NR_O32_Linux_syscalls 311 345 346 #if _MIPS_SIM == _MIPS_SIM_ABI64 347 ··· 622 #define __NR_set_robust_list (__NR_Linux + 268) 623 #define __NR_get_robust_list (__NR_Linux + 269) 624 #define __NR_kexec_load (__NR_Linux + 270) 625 626 /* 627 * Offset of the last Linux 64-bit flavoured syscall 628 */ 629 - #define __NR_Linux_syscalls 270 630 631 #endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */ 632 633 #define __NR_64_Linux 5000 634 - #define __NR_64_Linux_syscalls 270 635 636 #if _MIPS_SIM == _MIPS_SIM_NABI32 637 ··· 916 #define __NR_set_robust_list (__NR_Linux + 272) 917 #define __NR_get_robust_list (__NR_Linux + 273) 918 #define __NR_kexec_load (__NR_Linux + 274) 919 920 /* 921 * Offset of the last N32 flavoured syscall 922 */ 923 - #define __NR_Linux_syscalls 274 924 925 #endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */ 926 927 #define __NR_N32_Linux 6000 928 - #define __NR_N32_Linux_syscalls 274 929 930 #ifdef __KERNEL__ 931
··· 332 #define __NR_set_robust_list (__NR_Linux + 309) 333 #define __NR_get_robust_list (__NR_Linux + 310) 334 #define __NR_kexec_load (__NR_Linux + 311) 335 + #define __NR_getcpu (__NR_Linux + 312) 336 + #define __NR_epoll_pwait (__NR_Linux + 313) 337 338 /* 339 * Offset of the last Linux o32 flavoured syscall 340 */ 341 + #define __NR_Linux_syscalls 313 342 343 #endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */ 344 345 #define __NR_O32_Linux 4000 346 + #define __NR_O32_Linux_syscalls 313 347 348 #if _MIPS_SIM == _MIPS_SIM_ABI64 349 ··· 620 #define __NR_set_robust_list (__NR_Linux + 268) 621 #define __NR_get_robust_list (__NR_Linux + 269) 622 #define __NR_kexec_load (__NR_Linux + 270) 623 + #define __NR_getcpu (__NR_Linux + 271) 624 + #define __NR_epoll_pwait (__NR_Linux + 272) 625 626 /* 627 * Offset of the last Linux 64-bit flavoured syscall 628 */ 629 + #define __NR_Linux_syscalls 272 630 631 #endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */ 632 633 #define __NR_64_Linux 5000 634 + #define __NR_64_Linux_syscalls 272 635 636 #if _MIPS_SIM == _MIPS_SIM_NABI32 637 ··· 912 #define __NR_set_robust_list (__NR_Linux + 272) 913 #define __NR_get_robust_list (__NR_Linux + 273) 914 #define __NR_kexec_load (__NR_Linux + 274) 915 + #define __NR_getcpu (__NR_Linux + 275) 916 + #define __NR_epoll_pwait (__NR_Linux + 276) 917 918 /* 919 * Offset of the last N32 flavoured syscall 920 */ 921 + #define __NR_Linux_syscalls 276 922 923 #endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */ 924 925 #define __NR_N32_Linux 6000 926 + #define __NR_N32_Linux_syscalls 276 927 928 #ifdef __KERNEL__ 929