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.
Showing the changes to arch/mips/include/uapi (1 of 5 files). Show all
Unified · Split
| @@ -388,17 +388,18 @@ · 387 unmodified lines | ||
| 388 | 388 | #define __NR_pkey_alloc (__NR_Linux + 364) |
| 389 | 389 | #define __NR_pkey_free (__NR_Linux + 365) |
| 390 | 390 | #define __NR_statx (__NR_Linux + 366) |
| 391 | +#define __NR_rseq (__NR_Linux + 367) | |
| 391 | 392 | |
| 392 | 393 | |
| 393 | 394 | /* |
| 394 | 395 | * Offset of the last Linux o32 flavoured syscall |
| 395 | 396 | */ |
| 396 | −#define __NR_Linux_syscalls 366 | |
| 397 | +#define __NR_Linux_syscalls 367 | |
| 397 | 398 | |
| 398 | 399 | #endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */ |
| 399 | 400 | |
| 400 | 401 | #define __NR_O32_Linux 4000 |
| 401 | −#define __NR_O32_Linux_syscalls 366 | |
| 402 | +#define __NR_O32_Linux_syscalls 367 | |
| 402 | 403 | |
| 403 | 404 | #if _MIPS_SIM == _MIPS_SIM_ABI64 |
| 404 | 405 | |
| @@ -733,16 +734,17 @@ · 328 unmodified lines | ||
| 733 | 734 | #define __NR_pkey_alloc (__NR_Linux + 324) |
| 734 | 735 | #define __NR_pkey_free (__NR_Linux + 325) |
| 735 | 736 | #define __NR_statx (__NR_Linux + 326) |
| 737 | +#define __NR_rseq (__NR_Linux + 327) | |
| 736 | 738 | |
| 737 | 739 | /* |
| 738 | 740 | * Offset of the last Linux 64-bit flavoured syscall |
| 739 | 741 | */ |
| 740 | −#define __NR_Linux_syscalls 326 | |
| 742 | +#define __NR_Linux_syscalls 327 | |
| 741 | 743 | |
| 742 | 744 | #endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */ |
| 743 | 745 | |
| 744 | 746 | #define __NR_64_Linux 5000 |
| 745 | −#define __NR_64_Linux_syscalls 326 | |
| 747 | +#define __NR_64_Linux_syscalls 327 | |
| 746 | 748 | |
| 747 | 749 | #if _MIPS_SIM == _MIPS_SIM_NABI32 |
| 748 | 750 | |
| @@ -1081,15 +1083,16 @@ · 332 unmodified lines | ||
| 1081 | 1083 | #define __NR_pkey_alloc (__NR_Linux + 328) |
| 1082 | 1084 | #define __NR_pkey_free (__NR_Linux + 329) |
| 1083 | 1085 | #define __NR_statx (__NR_Linux + 330) |
| 1086 | +#define __NR_rseq (__NR_Linux + 331) | |
| 1084 | 1087 | |
| 1085 | 1088 | /* |
| 1086 | 1089 | * Offset of the last N32 flavoured syscall |
| 1087 | 1090 | */ |
| 1088 | −#define __NR_Linux_syscalls 330 | |
| 1091 | +#define __NR_Linux_syscalls 331 | |
| 1089 | 1092 | |
| 1090 | 1093 | #endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */ |
| 1091 | 1094 | |
| 1092 | 1095 | #define __NR_N32_Linux 6000 |
| 1093 | −#define __NR_N32_Linux_syscalls 330 | |
| 1096 | +#define __NR_N32_Linux_syscalls 331 | |
| 1094 | 1097 | |
| 1095 | 1098 | #endif /* _UAPI_ASM_UNISTD_H */ |