android_kernel_xiaomi_sm8350/arch/um/include
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
..
skas
sysdep-i386 [PATCH] uml: size register files correctly 2006-12-07 08:39:29 -08:00
sysdep-ia64
sysdep-ppc
sysdep-x86_64 [PATCH] uml: size register files correctly 2006-12-07 08:39:29 -08:00
tt
aio.h
chan_kern.h [PATCH] uml: mostly const a structure 2007-02-11 10:51:22 -08:00
chan_user.h [PATCH] uml: chan_user.h formatting fixes 2007-02-11 10:51:22 -08:00
choose-mode.h
common-offsets.h
elf_user.h
frame_kern.h
init.h
initrd.h
irq_kern.h
irq_user.h
kern_util.h [PATCH] uml: make signal handlers static 2007-02-11 10:51:22 -08:00
kern.h
line.h [PATCH] uml: fix previous console locking 2007-02-11 10:51:22 -08:00
longjmp.h
mconsole_kern.h [PATCH] uml: console whitespace and comment tidying 2007-02-11 10:51:21 -08:00
mconsole.h
mem_kern.h
mem_user.h
mem.h
misc_constants.h
mode_kern.h
mode.h
net_kern.h [PATCH] uml: network driver whitespace and style fixes 2007-02-11 10:51:21 -08:00
net_user.h
os.h [PATCH] uml: x86_64 thread fixes 2007-02-11 10:51:24 -08:00
process.h
ptrace_user.h
registers.h
sigcontext.h
sigio.h [PATCH] uml: SIGIO formatting fixes 2007-02-11 10:51:23 -08:00
signal_kern.h
skas_ptrace.h
skas_ptregs.h
syscall.h
sysrq.h
task.h
tempfile.h [PATCH] uml: locking comments in memory and tempfile code 2007-02-11 10:51:23 -08:00
tlb.h
ubd_user.h
um_malloc.h
um_mmu.h
um_uaccess.h
uml_uaccess.h
user_util.h
user.h