summaryrefslogtreecommitdiffstats
path: root/arch/nds32/kernel/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/nds32/kernel/signal.c')
-rw-r--r--arch/nds32/kernel/signal.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/nds32/kernel/signal.c b/arch/nds32/kernel/signal.c
index 36e25a410bb0..2acb94812af9 100644
--- a/arch/nds32/kernel/signal.c
+++ b/arch/nds32/kernel/signal.c
@@ -379,8 +379,6 @@ do_notify_resume(struct pt_regs *regs, unsigned int thread_flags)
if (thread_flags & _TIF_SIGPENDING)
do_signal(regs);
- if (thread_flags & _TIF_NOTIFY_RESUME) {
- clear_thread_flag(TIF_NOTIFY_RESUME);
+ if (thread_flags & _TIF_NOTIFY_RESUME)
tracehook_notify_resume(regs);
- }
}