aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/ptrace.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2008-01-30 07:30:51 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:30:51 -0500
commit2a84b0d71973692b291f03a870c4d0d13f722d79 (patch)
tree0d7487317dc3bf901581ca7974a45adf4724ea95 /include/asm-powerpc/ptrace.h
parent227195d4a6185e81855f56ed9bc815cad9a39398 (diff)
powerpc: arch_has_single_step
This defines the new standard arch_has_single_step macro. It makes the existing set_single_step and clear_single_step entry points global, and renames them to the new standard names user_enable_single_step and user_disable_single_step, respectively. Signed-off-by: Roland McGrath <roland@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-powerpc/ptrace.h')
-rw-r--r--include/asm-powerpc/ptrace.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-powerpc/ptrace.h b/include/asm-powerpc/ptrace.h
index 13fccc5a4119..3063363f6799 100644
--- a/include/asm-powerpc/ptrace.h
+++ b/include/asm-powerpc/ptrace.h
@@ -119,6 +119,13 @@ do { \
119} while (0) 119} while (0)
120#endif /* __powerpc64__ */ 120#endif /* __powerpc64__ */
121 121
122/*
123 * These are defined as per linux/ptrace.h, which see.
124 */
125#define arch_has_single_step() (1)
126extern void user_enable_single_step(struct task_struct *);
127extern void user_disable_single_step(struct task_struct *);
128
122#endif /* __ASSEMBLY__ */ 129#endif /* __ASSEMBLY__ */
123 130
124#endif /* __KERNEL__ */ 131#endif /* __KERNEL__ */