Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
tls_64.c
Go to the documentation of this file.
1 #include <linux/sched.h>
2 
4 {
5 }
6 
8 {
9  /*
10  * If CLONE_SETTLS is set, we need to save the thread id
11  * (which is argument 5, child_tid, of clone) so it can be set
12  * during context switches.
13  */
14  t->thread.arch.fs = t->thread.regs.regs.gp[R8 / sizeof(long)];
15 
16  return 0;
17 }