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