ptrace: Create ptrace_report_syscall_{entry,exit} in ptrace.h
[linux-2.6-block.git] / arch / sh / kernel / ptrace_32.c
index 5281685f6ad1f728b3ac8c577aaa54a1c7f99fc2..d417988d9770f0994cf7574e2778935aa5cfa3ef 100644 (file)
@@ -20,7 +20,6 @@
 #include <linux/io.h>
 #include <linux/audit.h>
 #include <linux/seccomp.h>
-#include <linux/tracehook.h>
 #include <linux/elf.h>
 #include <linux/regset.h>
 #include <linux/hw_breakpoint.h>
@@ -456,7 +455,7 @@ long arch_ptrace(struct task_struct *child, long request,
 asmlinkage long do_syscall_trace_enter(struct pt_regs *regs)
 {
        if (test_thread_flag(TIF_SYSCALL_TRACE) &&
-           tracehook_report_syscall_entry(regs)) {
+           ptrace_report_syscall_entry(regs)) {
                regs->regs[0] = -ENOSYS;
                return -1;
        }
@@ -484,5 +483,5 @@ asmlinkage void do_syscall_trace_leave(struct pt_regs *regs)
 
        step = test_thread_flag(TIF_SINGLESTEP);
        if (step || test_thread_flag(TIF_SYSCALL_TRACE))
-               tracehook_report_syscall_exit(regs, step);
+               ptrace_report_syscall_exit(regs, step);
 }