VisionFive2 Linux kernel

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

More than 9999 Commits   32 Branches   54 Tags
author: Jens Axboe <axboe@kernel.dk> 2020-10-03 10:49:22 -0600 committer: Jens Axboe <axboe@kernel.dk> 2020-10-17 15:04:36 -0600 commit: 3c532798ec96b6c2d77706f04ed1d8b566a805df parent: 324bcf54c449c7b5b7024c9fa4549fbaaae1935d
Commit Summary:
tracehook: clear TIF_NOTIFY_RESUME in tracehook_notify_resume()
Diffstat:
1 file changed, 1 insertion, 3 deletions
diff --git a/arch/h8300/kernel/signal.c b/arch/h8300/kernel/signal.c
index 69e68949787f..75d9b7e626b2 100644
--- a/arch/h8300/kernel/signal.c
+++ b/arch/h8300/kernel/signal.c
@@ -282,8 +282,6 @@ asmlinkage void do_notify_resume(struct pt_regs *regs, u32 thread_info_flags)
 	if (thread_info_flags & _TIF_SIGPENDING)
 		do_signal(regs);
 
-	if (thread_info_flags & _TIF_NOTIFY_RESUME) {
-		clear_thread_flag(TIF_NOTIFY_RESUME);
+	if (thread_info_flags & _TIF_NOTIFY_RESUME)
 		tracehook_notify_resume(regs);
-	}
 }