diff options
author | Petr Tesarik <ptesarik@suse.cz> | 2008-02-11 16:43:38 -0500 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2008-03-05 18:49:11 -0500 |
commit | 8db3f5254151c3a06a764bbb18283570ba1897bf (patch) | |
tree | 3ea87ac42410202946c5c18871ba212c2c8192b2 /include | |
parent | eac738e6cea16bfbd7b9018d60d009aedd2d14b6 (diff) |
[IA64] remove duplicate code from arch_ptrace()
Remove all code which does exactly the same thing as ptrace_request().
Signed-off-by: Petr Tesarik <ptesarik@suse.cz>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-ia64/ptrace.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-ia64/ptrace.h b/include/asm-ia64/ptrace.h index 5b5234098783..4b2a8d40ebc5 100644 --- a/include/asm-ia64/ptrace.h +++ b/include/asm-ia64/ptrace.h | |||
@@ -312,6 +312,13 @@ struct switch_stack { | |||
312 | #define arch_ptrace_attach(child) \ | 312 | #define arch_ptrace_attach(child) \ |
313 | ptrace_attach_sync_user_rbs(child) | 313 | ptrace_attach_sync_user_rbs(child) |
314 | 314 | ||
315 | #define arch_has_single_step() (1) | ||
316 | extern void user_enable_single_step(struct task_struct *); | ||
317 | extern void user_disable_single_step(struct task_struct *); | ||
318 | |||
319 | #define arch_has_block_step() (1) | ||
320 | extern void user_enable_block_step(struct task_struct *); | ||
321 | |||
315 | #endif /* !__KERNEL__ */ | 322 | #endif /* !__KERNEL__ */ |
316 | 323 | ||
317 | /* pt_all_user_regs is used for PTRACE_GETREGS PTRACE_SETREGS */ | 324 | /* pt_all_user_regs is used for PTRACE_GETREGS PTRACE_SETREGS */ |