summaryrefslogtreecommitdiffstats
path: root/arch/ia64/kernel/signal.c
diff options
context:
space:
mode:
authorShaohua Li <shaohua.li@intel.com>2008-10-06 10:43:06 -0700
committerTony Luck <tony.luck@intel.com>2008-10-06 10:43:06 -0700
commitf14488ccfe0f41207e40520fab60dce356ed9e57 (patch)
treeef538012500f197397fbee674591910a96a50805 /arch/ia64/kernel/signal.c
parentcfb361f13c8136de78c406745abc4e4456e6d480 (diff)
downloadtalos-op-linux-f14488ccfe0f41207e40520fab60dce356ed9e57.tar.gz
talos-op-linux-f14488ccfe0f41207e40520fab60dce356ed9e57.zip
[IA64] utrace use generic trace hook
Make IA64 use generic trace hook in some paths. Signed-off-by: Shaohua Li <shaohua.li@intel.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/kernel/signal.c')
-rw-r--r--arch/ia64/kernel/signal.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/ia64/kernel/signal.c b/arch/ia64/kernel/signal.c
index 19c5a78636fc..e12500a9c443 100644
--- a/arch/ia64/kernel/signal.c
+++ b/arch/ia64/kernel/signal.c
@@ -11,6 +11,7 @@
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/ptrace.h>
+#include <linux/tracehook.h>
#include <linux/sched.h>
#include <linux/signal.h>
#include <linux/smp.h>
@@ -439,6 +440,13 @@ handle_signal (unsigned long sig, struct k_sigaction *ka, siginfo_t *info, sigse
sigaddset(&current->blocked, sig);
recalc_sigpending();
spin_unlock_irq(&current->sighand->siglock);
+
+ /*
+ * Let tracing know that we've done the handler setup.
+ */
+ tracehook_signal_handler(sig, info, ka, &scr->pt,
+ test_thread_flag(TIF_SINGLESTEP));
+
return 1;
}
OpenPOWER on IntegriCloud