author: Linus Torvalds <torvalds@linux-foundation.org> 2020-10-23 10:06:38 -0700
committer: Linus Torvalds <torvalds@linux-foundation.org> 2020-10-23 10:06:38 -0700
commit: 4a22709e21c2b1bedf90f68c823daf65d8e6b491
parent: 0a14d7649872be966d12bc6c3056bb37c27b94bd
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/arch/arc/kernel/signal.c b/arch/arc/kernel/signal.c
index 8222f8c54690..2be55fb96d87 100644
--- a/arch/arc/kernel/signal.c
+++ b/arch/arc/kernel/signal.c
@@ -394,6 +394,6 @@ void do_notify_resume(struct pt_regs *regs)
* ASM glue gaurantees that this is only called when returning to
* user mode
*/
- if (test_and_clear_thread_flag(TIF_NOTIFY_RESUME))
+ if (test_thread_flag(TIF_NOTIFY_RESUME))
tracehook_notify_resume(regs);
}