* [PATCH] riscv: sigcontext: Correct the comment of sigreturn
@ 2023-06-28 9:12 guoren
2023-07-12 13:39 ` Palmer Dabbelt
2023-07-12 13:50 ` patchwork-bot+linux-riscv
0 siblings, 2 replies; 3+ messages in thread
From: guoren @ 2023-06-28 9:12 UTC (permalink / raw)
To: arnd, guoren, palmer; +Cc: linux-arch, linux-kernel, linux-riscv, Guo Ren
From: Guo Ren <guoren@linux.alibaba.com>
The real-time signals enlarged the sigset_t type, and most architectures
have changed to using rt_sigreturn as the only way. The riscv is one of
them, and there is no sys_sigreturn in it. Only some old architecture
preserved sys_sigreturn as part of the historical burden.
Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Signed-off-by: Guo Ren <guoren@kernel.org>
---
arch/riscv/include/uapi/asm/sigcontext.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/riscv/include/uapi/asm/sigcontext.h b/arch/riscv/include/uapi/asm/sigcontext.h
index 8b8a8541673a..ca5b5c8391a0 100644
--- a/arch/riscv/include/uapi/asm/sigcontext.h
+++ b/arch/riscv/include/uapi/asm/sigcontext.h
@@ -23,7 +23,7 @@ struct __sc_riscv_v_state {
* Signal context structure
*
* This contains the context saved before a signal handler is invoked;
- * it is restored by sys_sigreturn / sys_rt_sigreturn.
+ * it is restored by sys_rt_sigreturn.
*/
struct sigcontext {
struct user_regs_struct sc_regs;
--
2.36.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] riscv: sigcontext: Correct the comment of sigreturn
2023-06-28 9:12 [PATCH] riscv: sigcontext: Correct the comment of sigreturn guoren
@ 2023-07-12 13:39 ` Palmer Dabbelt
2023-07-12 13:50 ` patchwork-bot+linux-riscv
1 sibling, 0 replies; 3+ messages in thread
From: Palmer Dabbelt @ 2023-07-12 13:39 UTC (permalink / raw)
To: Arnd Bergmann, guoren; +Cc: linux-arch, linux-kernel, linux-riscv, Guo Ren
On Wed, 28 Jun 2023 05:12:13 -0400, guoren@kernel.org wrote:
> The real-time signals enlarged the sigset_t type, and most architectures
> have changed to using rt_sigreturn as the only way. The riscv is one of
> them, and there is no sys_sigreturn in it. Only some old architecture
> preserved sys_sigreturn as part of the historical burden.
>
>
Applied, thanks!
[1/1] riscv: sigcontext: Correct the comment of sigreturn
https://git.kernel.org/palmer/c/471aba2e4760
Best regards,
--
Palmer Dabbelt <palmer@rivosinc.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] riscv: sigcontext: Correct the comment of sigreturn
2023-06-28 9:12 [PATCH] riscv: sigcontext: Correct the comment of sigreturn guoren
2023-07-12 13:39 ` Palmer Dabbelt
@ 2023-07-12 13:50 ` patchwork-bot+linux-riscv
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+linux-riscv @ 2023-07-12 13:50 UTC (permalink / raw)
To: Guo Ren; +Cc: linux-riscv, arnd, palmer, linux-arch, linux-kernel, guoren
Hello:
This patch was applied to riscv/linux.git (for-next)
by Palmer Dabbelt <palmer@rivosinc.com>:
On Wed, 28 Jun 2023 05:12:13 -0400 you wrote:
> From: Guo Ren <guoren@linux.alibaba.com>
>
> The real-time signals enlarged the sigset_t type, and most architectures
> have changed to using rt_sigreturn as the only way. The riscv is one of
> them, and there is no sys_sigreturn in it. Only some old architecture
> preserved sys_sigreturn as part of the historical burden.
>
> [...]
Here is the summary with links:
- riscv: sigcontext: Correct the comment of sigreturn
https://git.kernel.org/riscv/c/471aba2e4760
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-07-12 13:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-28 9:12 [PATCH] riscv: sigcontext: Correct the comment of sigreturn guoren
2023-07-12 13:39 ` Palmer Dabbelt
2023-07-12 13:50 ` patchwork-bot+linux-riscv
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox