diff options
Diffstat (limited to 'include/asm-x86/ptrace.h')
-rw-r--r-- | include/asm-x86/ptrace.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-x86/ptrace.h b/include/asm-x86/ptrace.h index 105d1534eaf4..fe75422f034b 100644 --- a/include/asm-x86/ptrace.h +++ b/include/asm-x86/ptrace.h | |||
@@ -140,6 +140,13 @@ enum { | |||
140 | 140 | ||
141 | #ifdef __KERNEL__ | 141 | #ifdef __KERNEL__ |
142 | 142 | ||
143 | /* | ||
144 | * These are defined as per linux/ptrace.h, which see. | ||
145 | */ | ||
146 | #define arch_has_single_step() (1) | ||
147 | extern void user_enable_single_step(struct task_struct *); | ||
148 | extern void user_disable_single_step(struct task_struct *); | ||
149 | |||
143 | struct user_desc; | 150 | struct user_desc; |
144 | extern int do_get_thread_area(struct task_struct *p, int idx, | 151 | extern int do_get_thread_area(struct task_struct *p, int idx, |
145 | struct user_desc __user *info); | 152 | struct user_desc __user *info); |