Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 83161
b: refs/heads/master
c: b2cf770
h: refs/heads/master
i:
  83159: f3fd4e6
v: v3
  • Loading branch information
Jeff Dike authored and Linus Torvalds committed Feb 5, 2008
1 parent 0e9c56d commit ef315ad
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c11274655558e72d8d4a598c0077874c094d97d5
refs/heads/master: b2cf770758cfd9dceb62afcb86e56e96ff37234a
9 changes: 5 additions & 4 deletions trunk/arch/um/sys-i386/tls.c
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,8 @@ int arch_copy_tls(struct task_struct *new)
}

/* XXX: use do_get_thread_area to read the host value? I'm not at all sure! */
static int get_tls_entry(struct task_struct* task, struct user_desc *info, int idx)
static int get_tls_entry(struct task_struct *task, struct user_desc *info,
int idx)
{
struct thread_struct *t = &task->thread;

Expand Down Expand Up @@ -263,7 +264,7 @@ static int get_tls_entry(struct task_struct* task, struct user_desc *info, int i
goto out;
}

asmlinkage int sys_set_thread_area(struct user_desc __user *user_desc)
int sys_set_thread_area(struct user_desc __user *user_desc)
{
struct user_desc info;
int idx, ret;
Expand Down Expand Up @@ -298,7 +299,7 @@ asmlinkage int sys_set_thread_area(struct user_desc __user *user_desc)
* i386. However the only possible error are caused by bugs.
*/
int ptrace_set_thread_area(struct task_struct *child, int idx,
struct user_desc __user *user_desc)
struct user_desc __user *user_desc)
{
struct user_desc info;

Expand All @@ -311,7 +312,7 @@ int ptrace_set_thread_area(struct task_struct *child, int idx,
return set_tls_entry(child, &info, idx, 0);
}

asmlinkage int sys_get_thread_area(struct user_desc __user *user_desc)
int sys_get_thread_area(struct user_desc __user *user_desc)
{
struct user_desc info;
int idx, ret;
Expand Down
6 changes: 0 additions & 6 deletions trunk/include/asm-um/linkage.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,4 @@

#include "asm/arch/linkage.h"


/* <linux/linkage.h> will pick sane defaults */
#ifdef CONFIG_GPROF
#undef fastcall
#endif

#endif

0 comments on commit ef315ad

Please sign in to comment.