diff options
Diffstat (limited to 'arch/x86/kernel/signal.c')
-rw-r--r-- | arch/x86/kernel/signal.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86/kernel/signal.c b/arch/x86/kernel/signal.c index 115eac431483..041af2fd088d 100644 --- a/arch/x86/kernel/signal.c +++ b/arch/x86/kernel/signal.c | |||
@@ -18,6 +18,7 @@ | |||
18 | #include <linux/personality.h> | 18 | #include <linux/personality.h> |
19 | #include <linux/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | #include <linux/user-return-notifier.h> | 20 | #include <linux/user-return-notifier.h> |
21 | #include <linux/uprobes.h> | ||
21 | 22 | ||
22 | #include <asm/processor.h> | 23 | #include <asm/processor.h> |
23 | #include <asm/ucontext.h> | 24 | #include <asm/ucontext.h> |
@@ -824,6 +825,11 @@ do_notify_resume(struct pt_regs *regs, void *unused, __u32 thread_info_flags) | |||
824 | mce_notify_process(); | 825 | mce_notify_process(); |
825 | #endif /* CONFIG_X86_64 && CONFIG_X86_MCE */ | 826 | #endif /* CONFIG_X86_64 && CONFIG_X86_MCE */ |
826 | 827 | ||
828 | if (thread_info_flags & _TIF_UPROBE) { | ||
829 | clear_thread_flag(TIF_UPROBE); | ||
830 | uprobe_notify_resume(regs); | ||
831 | } | ||
832 | |||
827 | /* deal with pending signal delivery */ | 833 | /* deal with pending signal delivery */ |
828 | if (thread_info_flags & _TIF_SIGPENDING) | 834 | if (thread_info_flags & _TIF_SIGPENDING) |
829 | do_signal(regs); | 835 | do_signal(regs); |