diff options
author | Allen Pais <allen.pais@oracle.com> | 2016-10-13 10:06:13 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-11 18:01:51 -0800 |
commit | e8f4aa6087fa80732382881ef7c0c96733bb1984 (patch) | |
tree | 5a1848f14f63641d6d866a1596eddb99c554f21d /arch/sparc/kernel/signal_64.c | |
parent | 69973b830859bc6529a7a0468ba0d80ee5117826 (diff) | |
download | linux-stable-e8f4aa6087fa80732382881ef7c0c96733bb1984.tar.gz linux-stable-e8f4aa6087fa80732382881ef7c0c96733bb1984.tar.bz2 linux-stable-e8f4aa6087fa80732382881ef7c0c96733bb1984.zip |
sparc64:Support User Probes for sparc
Signed-off-by: Eric Saint Etienne <eric.saint.etienne@oracle.com>
Signed-off-by: Allen Pais <allen.pais@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/signal_64.c')
-rw-r--r-- | arch/sparc/kernel/signal_64.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc/kernel/signal_64.c b/arch/sparc/kernel/signal_64.c index 5ee930c48f4c..c782c9b716db 100644 --- a/arch/sparc/kernel/signal_64.c +++ b/arch/sparc/kernel/signal_64.c @@ -545,6 +545,8 @@ static void do_signal(struct pt_regs *regs, unsigned long orig_i0) void do_notify_resume(struct pt_regs *regs, unsigned long orig_i0, unsigned long thread_info_flags) { user_exit(); + if (thread_info_flags & _TIF_UPROBE) + uprobe_notify_resume(regs); if (thread_info_flags & _TIF_SIGPENDING) do_signal(regs, orig_i0); if (thread_info_flags & _TIF_NOTIFY_RESUME) { |