linux/arch/um/sys-x86_64
Jeff Dike f355559cf7 [PATCH] uml: x86_64 thread fixes
x86_64 needs some TLS fixes.  What was missing was remembering the child
thread id during clone and stuffing it into the child during each context
switch.

The %fs value is stored separately in the thread structure since the host
controls what effect it has on the actual register file.  The host also needs
to store it in its own thread struct, so we need the value kept outside the
register file.

arch_prctl_skas was fixed to call PTRACE_ARCH_PRCTL appropriately.  There is
some saving and restoring of registers in the ARCH_SET_* cases so that the
correct set of registers are changed on the host and restored to the process
when it runs again.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-02-11 10:51:24 -08:00
..
bug.c [PATCH] UML: add generic BUG support 2006-12-08 08:28:39 -08:00
bugs.c
delay.c
fault.c
ksyms.c [PATCH] uml: remove duplicate export 2006-10-11 11:14:20 -07:00
Makefile [PATCH] UML: add generic BUG support 2006-12-08 08:28:39 -08:00
mem.c
ptrace_user.c
ptrace.c
setjmp.S
sigcontext.c
signal.c [PATCH] uml: fix signal frame alignment 2007-01-30 16:01:35 -08:00
stub_segv.c [PATCH] make UML compile (FC6/x86-64) 2006-10-15 14:18:39 -07:00
stub.S
syscall_table.c
syscalls.c [PATCH] uml: x86_64 thread fixes 2007-02-11 10:51:24 -08:00
sysrq.c
tls.c [PATCH] uml: x86_64 thread fixes 2007-02-11 10:51:24 -08:00
um_module.c
unmap.c [PATCH] Fix "Remove the use of _syscallX macros in UML" 2006-10-30 12:08:41 -08:00
user-offsets.c