diff options
author | Petr Tesarik <ptesarik@suse.cz> | 2008-02-11 22:43:38 +0100 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2008-03-05 15:49:11 -0800 |
commit | 8db3f5254151c3a06a764bbb18283570ba1897bf (patch) | |
tree | 3ea87ac42410202946c5c18871ba212c2c8192b2 /include | |
parent | eac738e6cea16bfbd7b9018d60d009aedd2d14b6 (diff) | |
download | linux-8db3f5254151c3a06a764bbb18283570ba1897bf.tar.gz linux-8db3f5254151c3a06a764bbb18283570ba1897bf.tar.bz2 linux-8db3f5254151c3a06a764bbb18283570ba1897bf.zip |
[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 { #define arch_ptrace_attach(child) \ ptrace_attach_sync_user_rbs(child) + #define arch_has_single_step() (1) + extern void user_enable_single_step(struct task_struct *); + extern void user_disable_single_step(struct task_struct *); + + #define arch_has_block_step() (1) + extern void user_enable_block_step(struct task_struct *); + #endif /* !__KERNEL__ */ /* pt_all_user_regs is used for PTRACE_GETREGS PTRACE_SETREGS */ |