diff options
-rw-r--r-- | arch/um/sys-i386/tls.c | 9 | ||||
-rw-r--r-- | include/asm-um/linkage.h | 6 |
2 files changed, 5 insertions, 10 deletions
diff --git a/arch/um/sys-i386/tls.c b/arch/um/sys-i386/tls.c index fcaff86b000c..027e86ad9e5c 100644 --- a/arch/um/sys-i386/tls.c +++ b/arch/um/sys-i386/tls.c | |||
@@ -225,7 +225,8 @@ out: | |||
225 | } | 225 | } |
226 | 226 | ||
227 | /* XXX: use do_get_thread_area to read the host value? I'm not at all sure! */ | 227 | /* XXX: use do_get_thread_area to read the host value? I'm not at all sure! */ |
228 | static int get_tls_entry(struct task_struct* task, struct user_desc *info, int idx) | 228 | static int get_tls_entry(struct task_struct *task, struct user_desc *info, |
229 | int idx) | ||
229 | { | 230 | { |
230 | struct thread_struct *t = &task->thread; | 231 | struct thread_struct *t = &task->thread; |
231 | 232 | ||
@@ -263,7 +264,7 @@ clear: | |||
263 | goto out; | 264 | goto out; |
264 | } | 265 | } |
265 | 266 | ||
266 | asmlinkage int sys_set_thread_area(struct user_desc __user *user_desc) | 267 | int sys_set_thread_area(struct user_desc __user *user_desc) |
267 | { | 268 | { |
268 | struct user_desc info; | 269 | struct user_desc info; |
269 | int idx, ret; | 270 | int idx, ret; |
@@ -298,7 +299,7 @@ asmlinkage int sys_set_thread_area(struct user_desc __user *user_desc) | |||
298 | * i386. However the only possible error are caused by bugs. | 299 | * i386. However the only possible error are caused by bugs. |
299 | */ | 300 | */ |
300 | int ptrace_set_thread_area(struct task_struct *child, int idx, | 301 | int ptrace_set_thread_area(struct task_struct *child, int idx, |
301 | struct user_desc __user *user_desc) | 302 | struct user_desc __user *user_desc) |
302 | { | 303 | { |
303 | struct user_desc info; | 304 | struct user_desc info; |
304 | 305 | ||
@@ -311,7 +312,7 @@ int ptrace_set_thread_area(struct task_struct *child, int idx, | |||
311 | return set_tls_entry(child, &info, idx, 0); | 312 | return set_tls_entry(child, &info, idx, 0); |
312 | } | 313 | } |
313 | 314 | ||
314 | asmlinkage int sys_get_thread_area(struct user_desc __user *user_desc) | 315 | int sys_get_thread_area(struct user_desc __user *user_desc) |
315 | { | 316 | { |
316 | struct user_desc info; | 317 | struct user_desc info; |
317 | int idx, ret; | 318 | int idx, ret; |
diff --git a/include/asm-um/linkage.h b/include/asm-um/linkage.h index cdb3024a699a..7dfce37adc8b 100644 --- a/include/asm-um/linkage.h +++ b/include/asm-um/linkage.h | |||
@@ -3,10 +3,4 @@ | |||
3 | 3 | ||
4 | #include "asm/arch/linkage.h" | 4 | #include "asm/arch/linkage.h" |
5 | 5 | ||
6 | |||
7 | /* <linux/linkage.h> will pick sane defaults */ | ||
8 | #ifdef CONFIG_GPROF | ||
9 | #undef fastcall | ||
10 | #endif | ||
11 | |||
12 | #endif | 6 | #endif |