History

MIPS: Wire up the restartable sequences (rseq) syscall

Wire up the restartable sequences (rseq) syscall for MIPS. This was introduced by commit d7822b1e24f2 ("rseq: Introduce restartable sequences system call") & MIPS now supports the prerequisites.

Paul Burton committed 8 years ago

Commit e426b371 parent 9bcf5355 files · +13 −6Browse files

Showing the changes to arch/mips/include/uapi (1 of 5 files). Show all

Unified · Split

arch/mips/include/uapi/asm/unistd.h+9−6
@@ -388,17 +388,18 @@ · 387 unmodified lines
388388 #define __NR_pkey_alloc (__NR_Linux + 364)
389389 #define __NR_pkey_free (__NR_Linux + 365)
390390 #define __NR_statx (__NR_Linux + 366)
391+#define __NR_rseq (__NR_Linux + 367)
391392
392393
393394 /*
394395 * Offset of the last Linux o32 flavoured syscall
395396 */
396−#define __NR_Linux_syscalls 366
397+#define __NR_Linux_syscalls 367
397398
398399 #endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */
399400
400401 #define __NR_O32_Linux 4000
401−#define __NR_O32_Linux_syscalls 366
402+#define __NR_O32_Linux_syscalls 367
402403
403404 #if _MIPS_SIM == _MIPS_SIM_ABI64
404405
@@ -733,16 +734,17 @@ · 328 unmodified lines
733734 #define __NR_pkey_alloc (__NR_Linux + 324)
734735 #define __NR_pkey_free (__NR_Linux + 325)
735736 #define __NR_statx (__NR_Linux + 326)
737+#define __NR_rseq (__NR_Linux + 327)
736738
737739 /*
738740 * Offset of the last Linux 64-bit flavoured syscall
739741 */
740−#define __NR_Linux_syscalls 326
742+#define __NR_Linux_syscalls 327
741743
742744 #endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */
743745
744746 #define __NR_64_Linux 5000
745−#define __NR_64_Linux_syscalls 326
747+#define __NR_64_Linux_syscalls 327
746748
747749 #if _MIPS_SIM == _MIPS_SIM_NABI32
748750
@@ -1081,15 +1083,16 @@ · 332 unmodified lines
10811083 #define __NR_pkey_alloc (__NR_Linux + 328)
10821084 #define __NR_pkey_free (__NR_Linux + 329)
10831085 #define __NR_statx (__NR_Linux + 330)
1086+#define __NR_rseq (__NR_Linux + 331)
10841087
10851088 /*
10861089 * Offset of the last N32 flavoured syscall
10871090 */
1088−#define __NR_Linux_syscalls 330
1091+#define __NR_Linux_syscalls 331
10891092
10901093 #endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */
10911094
10921095 #define __NR_N32_Linux 6000
1093−#define __NR_N32_Linux_syscalls 330
1096+#define __NR_N32_Linux_syscalls 331
10941097
10951098 #endif /* _UAPI_ASM_UNISTD_H */