aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/ptrace.h
diff options
context:
space:
mode:
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 c662287efd8f..ffc150f602b8 100644
--- a/include/asm-powerpc/ptrace.h
+++ b/include/asm-powerpc/ptrace.h
@@ -120,6 +120,13 @@ do { \
120} while (0) 120} while (0)
121#endif /* __powerpc64__ */ 121#endif /* __powerpc64__ */
122 122
123/*
124 * These are defined as per linux/ptrace.h, which see.
125 */
126#define arch_has_single_step() (1)
127extern void user_enable_single_step(struct task_struct *);
128extern void user_disable_single_step(struct task_struct *);
129
123#endif /* __ASSEMBLY__ */ 130#endif /* __ASSEMBLY__ */
124 131
125#endif /* __KERNEL__ */ 132#endif /* __KERNEL__ */