summaryrefslogtreecommitdiffstats
path: root/arch/tile/include/asm
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2012-12-22 00:21:10 -0500
committerChris Metcalf <cmetcalf@tilera.com>2013-03-21 15:39:34 -0400
commitef18272453c97238fc9a89211d4c609ef9c760dc (patch)
treef136861b2a31cc85027260775c9d00551c91d305 /arch/tile/include/asm
parenta937536b868b8369b98967929045f1df54234323 (diff)
downloadlinux-stable-ef18272453c97238fc9a89211d4c609ef9c760dc.tar.gz
linux-stable-ef18272453c97238fc9a89211d4c609ef9c760dc.tar.bz2
linux-stable-ef18272453c97238fc9a89211d4c609ef9c760dc.zip
arch/tile: Call tracehook_report_syscall_{entry,exit} in syscall trace
Call tracehook functions for syscall tracing. The check for TIF_SYSCALL_TRACE was removed, because the same check is done right before in the assembly file. Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca> Signed-off-by: Chris Metcalf <cmetcalf@tilera.com> [with ptrace.h fixup]
Diffstat (limited to 'arch/tile/include/asm')
-rw-r--r--arch/tile/include/asm/ptrace.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/tile/include/asm/ptrace.h b/arch/tile/include/asm/ptrace.h
index 2e83fc1b9467..fd412260aff7 100644
--- a/arch/tile/include/asm/ptrace.h
+++ b/arch/tile/include/asm/ptrace.h
@@ -44,7 +44,8 @@ typedef unsigned long pt_reg_t;
struct pt_regs *get_pt_regs(struct pt_regs *);
/* Trace the current syscall. */
-extern void do_syscall_trace(void);
+extern int do_syscall_trace_enter(struct pt_regs *regs);
+extern void do_syscall_trace_exit(struct pt_regs *regs);
#define arch_has_single_step() (1)