diff options
Diffstat (limited to 'include/asm-x86/ptrace.h')
-rw-r--r-- | include/asm-x86/ptrace.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/asm-x86/ptrace.h b/include/asm-x86/ptrace.h index 51ddb2590870..105d1534eaf4 100644 --- a/include/asm-x86/ptrace.h +++ b/include/asm-x86/ptrace.h | |||
@@ -137,6 +137,17 @@ enum { | |||
137 | }; | 137 | }; |
138 | #endif /* __KERNEL__ */ | 138 | #endif /* __KERNEL__ */ |
139 | #endif /* !__i386__ */ | 139 | #endif /* !__i386__ */ |
140 | |||
141 | #ifdef __KERNEL__ | ||
142 | |||
143 | struct user_desc; | ||
144 | extern int do_get_thread_area(struct task_struct *p, int idx, | ||
145 | struct user_desc __user *info); | ||
146 | extern int do_set_thread_area(struct task_struct *p, int idx, | ||
147 | struct user_desc __user *info, int can_allocate); | ||
148 | |||
149 | #endif /* __KERNEL__ */ | ||
150 | |||
140 | #endif /* !__ASSEMBLY__ */ | 151 | #endif /* !__ASSEMBLY__ */ |
141 | 152 | ||
142 | #endif | 153 | #endif |