Blame view
arch/x86/um/tls_64.c
361 Bytes
aa6758d48 [PATCH] uml: impl... |
1 |
#include "linux/sched.h" |
aa6758d48 [PATCH] uml: impl... |
2 3 4 5 6 7 |
void clear_flushed_tls(struct task_struct *task) { } int arch_copy_tls(struct task_struct *t) { |
f355559cf [PATCH] uml: x86_... |
8 9 10 11 12 |
/* * If CLONE_SETTLS is set, we need to save the thread id * (which is argument 5, child_tid, of clone) so it can be set * during context switches. */ |
18badddaa uml: rename pt_re... |
13 |
t->thread.arch.fs = t->thread.regs.regs.gp[R8 / sizeof(long)]; |
f355559cf [PATCH] uml: x86_... |
14 |
|
ba180fd43 uml: style fixes ... |
15 |
return 0; |
aa6758d48 [PATCH] uml: impl... |
16 |
} |