KEYS: Extend TIF_NOTIFY_RESUME to (almost) all architectures [try #6]
[pandora-kernel.git] / arch / arm / kernel / signal.c
index f6bc5d4..13dec27 100644 (file)
@@ -707,4 +707,9 @@ do_notify_resume(struct pt_regs *regs, unsigned int thread_flags, int syscall)
 {
        if (thread_flags & _TIF_SIGPENDING)
                do_signal(&current->blocked, regs, syscall);
+
+       if (thread_flags & _TIF_NOTIFY_RESUME) {
+               clear_thread_flag(TIF_NOTIFY_RESUME);
+               tracehook_notify_resume(regs);
+       }
 }