android_kernel_xiaomi_sm8350/arch/um
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 [PATCH] uml: umid tidying 2007-02-11 10:51:24 -08:00
include [PATCH] uml: x86_64 thread fixes 2007-02-11 10:51:24 -08:00
kernel [PATCH] uml: umid tidying 2007-02-11 10:51:24 -08:00
os-Linux [PATCH] uml: x86_64 thread fixes 2007-02-11 10:51:24 -08:00
scripts
sys-i386 [PATCH] uml: fix signal frame alignment 2007-01-30 16:01:35 -08:00
sys-ia64
sys-ppc
sys-x86_64 [PATCH] uml: x86_64 thread fixes 2007-02-11 10:51:24 -08:00
config.release
defconfig
Kconfig [PATCH] UML: add generic BUG support 2006-12-08 08:28:39 -08:00
Kconfig.char
Kconfig.debug
Kconfig.i386 [PATCH] fix indentation-related breakage in Kconfig.i386 2007-01-30 08:39:21 -08:00
Kconfig.net
Kconfig.scsi
Kconfig.x86_64
Makefile [PATCH] uml: fix compilation options for USER_OBJS 2006-10-30 12:08:41 -08:00
Makefile-i386 [PATCH] uml: fix compilation options for USER_OBJS 2006-10-30 12:08:41 -08:00
Makefile-ia64
Makefile-os-Linux
Makefile-ppc
Makefile-skas
Makefile-tt
Makefile-x86_64 [PATCH] uml: fix compilation options for USER_OBJS 2006-10-30 12:08:41 -08:00