original_kernel/arch/um/os-Linux
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
..
drivers
include
skas
sys-i386 [PATCH] uml: register handling formatting fixes 2007-02-11 10:51:24 -08:00
sys-x86_64 [PATCH] uml: x86_64 thread fixes 2007-02-11 10:51:24 -08:00
Makefile
aio.c [PATCH] uml: AIO locking and tidying 2007-02-11 10:51:24 -08:00
elf_aux.c [PATCH] uml: ELF locking commentary 2007-02-11 10:51:24 -08:00
execvp.c
file.c [PATCH] uml: libc-dependent code should call libc directly 2007-02-11 10:51:23 -08:00
helper.c
irq.c [PATCH] uml: IRQ handler tidying 2007-02-11 10:51:23 -08:00
main.c
mem.c [PATCH] uml: fix style violations 2007-02-11 10:51:23 -08:00
process.c
sigio.c
signal.c
start_up.c [PATCH] uml: fix error output during early boot 2007-02-11 10:51:24 -08:00
time.c
tls.c
trap.c
tt.c
tty.c
tty_log.c
uaccess.c
umid.c [PATCH] uml: umid tidying 2007-02-11 10:51:24 -08:00
user_syms.c
util.c