Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5200
b: refs/heads/master
c: 71ae18e
h: refs/heads/master
v: v3
  • Loading branch information
Blaisorblade authored and Linus Torvalds committed Jul 27, 2005
1 parent 2b3592c commit a7da4a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 44456d37b59d8e541936ed26d8b6e08d27e88ac1
refs/heads/master: 71ae18ec690953e9ba7107c7cc44589c2cc0d9f1
2 changes: 2 additions & 0 deletions trunk/arch/i386/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -917,6 +917,8 @@ asmlinkage int sys_get_thread_area(struct user_desc __user *u_info)
if (idx < GDT_ENTRY_TLS_MIN || idx > GDT_ENTRY_TLS_MAX)
return -EINVAL;

memset(&info, 0, sizeof(info));

desc = current->thread.tls_array + idx - GDT_ENTRY_TLS_MIN;

info.entry_number = idx;
Expand Down

0 comments on commit a7da4a1

Please sign in to comment.