diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2012-12-07 19:01:58 -0500 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-03 18:16:03 -0500 |
| commit | de2bfce30e1abda837c613d1ed5aaecb648c7e8f (patch) | |
| tree | 72aae8094a5ef1420842fd09b78eab0e760e6068 /arch/microblaze | |
| parent | 4de6ba68c9f52a361c89ea16c9c55eda2669253b (diff) | |
microblaze: remove debris in ptrace.c
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/microblaze')
| -rw-r--r-- | arch/microblaze/kernel/ptrace.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/arch/microblaze/kernel/ptrace.c b/arch/microblaze/kernel/ptrace.c index ab1b9db661f3..b050219c42e6 100644 --- a/arch/microblaze/kernel/ptrace.c +++ b/arch/microblaze/kernel/ptrace.c | |||
| @@ -164,29 +164,6 @@ asmlinkage void do_syscall_trace_leave(struct pt_regs *regs) | |||
| 164 | tracehook_report_syscall_exit(regs, step); | 164 | tracehook_report_syscall_exit(regs, step); |
| 165 | } | 165 | } |
| 166 | 166 | ||
| 167 | #if 0 | ||
| 168 | static asmlinkage void syscall_trace(void) | ||
| 169 | { | ||
| 170 | if (!test_thread_flag(TIF_SYSCALL_TRACE)) | ||
| 171 | return; | ||
| 172 | if (!(current->ptrace & PT_PTRACED)) | ||
| 173 | return; | ||
| 174 | /* The 0x80 provides a way for the tracing parent to distinguish | ||
| 175 | between a syscall stop and SIGTRAP delivery */ | ||
| 176 | ptrace_notify(SIGTRAP | ((current->ptrace & PT_TRACESYSGOOD) | ||
| 177 | ? 0x80 : 0)); | ||
| 178 | /* | ||
| 179 | * this isn't the same as continuing with a signal, but it will do | ||
| 180 | * for normal use. strace only continues with a signal if the | ||
| 181 | * stopping signal is not SIGTRAP. -brl | ||
| 182 | */ | ||
| 183 | if (current->exit_code) { | ||
| 184 | send_sig(current->exit_code, current, 1); | ||
| 185 | current->exit_code = 0; | ||
| 186 | } | ||
| 187 | } | ||
| 188 | #endif | ||
| 189 | |||
| 190 | void ptrace_disable(struct task_struct *child) | 167 | void ptrace_disable(struct task_struct *child) |
| 191 | { | 168 | { |
| 192 | /* nothing to do */ | 169 | /* nothing to do */ |
