Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86591
b: refs/heads/master
c: 3d00daf
h: refs/heads/master
i:
  86589: 8f3b2b0
  86587: 308c5e3
  86583: c24103a
  86575: 1a99435
  86559: 7367023
  86527: 88ffd7f
v: v3
  • Loading branch information
Roland McGrath authored and Ingo Molnar committed Feb 29, 2008
1 parent 997a1b1 commit e5e1964
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 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: c0f4133b8f70769bc8dda977feb9a29109d6ccca
refs/heads/master: 3d00daf44654dc75629caf42816ac4e293658724
8 changes: 6 additions & 2 deletions trunk/arch/x86/kernel/tls.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ int do_set_thread_area(struct task_struct *p, int idx,

asmlinkage int sys_set_thread_area(struct user_desc __user *u_info)
{
return do_set_thread_area(current, -1, u_info, 1);
int ret = do_set_thread_area(current, -1, u_info, 1);
prevent_tail_call(ret);
return ret;
}


Expand Down Expand Up @@ -139,7 +141,9 @@ int do_get_thread_area(struct task_struct *p, int idx,

asmlinkage int sys_get_thread_area(struct user_desc __user *u_info)
{
return do_get_thread_area(current, -1, u_info);
int ret = do_get_thread_area(current, -1, u_info);
prevent_tail_call(ret);
return ret;
}

int regset_tls_active(struct task_struct *target,
Expand Down

0 comments on commit e5e1964

Please sign in to comment.