VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   57 Tags
author: Sean Christopherson <seanjc@google.com> 2021-09-01 13:30:27 -0700 committer: Paolo Bonzini <pbonzini@redhat.com> 2021-09-22 10:24:01 -0400 commit: a68de80f61f6af397bc06fb391ff2e571c9c4d80 parent: 8646e53633f314e4d746a988240d3b951a92f94a
Commit Summary:
entry: rseq: Call rseq_handle_notify_resume() in tracehook_notify_resume()
Diffstat:
1 file changed, 1 insertion, 3 deletions
diff --git a/arch/mips/kernel/signal.c b/arch/mips/kernel/signal.c
index f1e985109da0..c9b2a75563e1 100644
--- a/arch/mips/kernel/signal.c
+++ b/arch/mips/kernel/signal.c
@@ -906,10 +906,8 @@ asmlinkage void do_notify_resume(struct pt_regs *regs, void *unused,
 	if (thread_info_flags & (_TIF_SIGPENDING | _TIF_NOTIFY_SIGNAL))
 		do_signal(regs);
 
-	if (thread_info_flags & _TIF_NOTIFY_RESUME) {
+	if (thread_info_flags & _TIF_NOTIFY_RESUME)
 		tracehook_notify_resume(regs);
-		rseq_handle_notify_resume(NULL, regs);
-	}
 
 	user_enter();
 }