diff options
Diffstat (limited to 'arch/cris/kernel/ptrace.c')
-rw-r--r-- | arch/cris/kernel/ptrace.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/cris/kernel/ptrace.c b/arch/cris/kernel/ptrace.c index b326023baab2..4f06d7fb43dd 100644 --- a/arch/cris/kernel/ptrace.c +++ b/arch/cris/kernel/ptrace.c | |||
@@ -36,4 +36,9 @@ void do_notify_resume(int canrestart, struct pt_regs *regs, | |||
36 | /* deal with pending signal delivery */ | 36 | /* deal with pending signal delivery */ |
37 | if (thread_info_flags & _TIF_SIGPENDING) | 37 | if (thread_info_flags & _TIF_SIGPENDING) |
38 | do_signal(canrestart,regs); | 38 | do_signal(canrestart,regs); |
39 | |||
40 | if (thread_info_flags & _TIF_NOTIFY_RESUME) { | ||
41 | clear_thread_flag(TIF_NOTIFY_RESUME); | ||
42 | tracehook_notify_resume(regs); | ||
43 | } | ||
39 | } | 44 | } |