diff options
Diffstat (limited to 'arch/parisc/kernel/signal.c')
| -rw-r--r-- | arch/parisc/kernel/signal.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/parisc/kernel/signal.c b/arch/parisc/kernel/signal.c index f82544225e8e..8eb3c63c407a 100644 --- a/arch/parisc/kernel/signal.c +++ b/arch/parisc/kernel/signal.c | |||
| @@ -25,6 +25,7 @@ | |||
| 25 | #include <linux/stddef.h> | 25 | #include <linux/stddef.h> |
| 26 | #include <linux/compat.h> | 26 | #include <linux/compat.h> |
| 27 | #include <linux/elf.h> | 27 | #include <linux/elf.h> |
| 28 | #include <linux/tracehook.h> | ||
| 28 | #include <asm/ucontext.h> | 29 | #include <asm/ucontext.h> |
| 29 | #include <asm/rt_sigframe.h> | 30 | #include <asm/rt_sigframe.h> |
| 30 | #include <asm/uaccess.h> | 31 | #include <asm/uaccess.h> |
| @@ -645,4 +646,11 @@ void do_notify_resume(struct pt_regs *regs, long in_syscall) | |||
| 645 | if (test_thread_flag(TIF_SIGPENDING) || | 646 | if (test_thread_flag(TIF_SIGPENDING) || |
| 646 | test_thread_flag(TIF_RESTORE_SIGMASK)) | 647 | test_thread_flag(TIF_RESTORE_SIGMASK)) |
| 647 | do_signal(regs, in_syscall); | 648 | do_signal(regs, in_syscall); |
| 649 | |||
| 650 | if (test_thread_flag(TIF_NOTIFY_RESUME)) { | ||
| 651 | clear_thread_flag(TIF_NOTIFY_RESUME); | ||
| 652 | tracehook_notify_resume(regs); | ||
| 653 | if (current->replacement_session_keyring) | ||
| 654 | key_replace_session_keyring(); | ||
| 655 | } | ||
| 648 | } | 656 | } |
