android_kernel_samsung_msm8976/arch/tile/kernel
Chris Metcalf bc4cf2bb27 arch/tile: handle CLONE_SETTLS in copy_thread(), not user space
Previously we were just setting up the "tp" register in the
new task as started by clone() in libc.  However, this is not
quite right, since in principle a signal might be delivered to
the new task before it had its TLS set up.  (Of course, this race
window still exists for resetting the libc getpid() cached value
in the new task, in principle.  But in any case, we are now doing
this exactly the way all other architectures do it.)

This change is important for 2.6.37 since the tile glibc we will
be submitting upstream will not set TLS in user space any more,
so it will only work on a kernel that has this fix.  It should
also be taken for 2.6.36.x in the stable tree if possible.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Cc: stable <stable@kernel.org>
2010-12-17 16:56:50 -05:00
..
asm-offsets.c
backtrace.c arch/tile: support new info op generated by compiler 2010-10-15 15:39:25 -04:00
compat.c BKL: remove extraneous #include <smp_lock.h> 2010-11-17 08:59:32 -08:00
compat_signal.c BKL: remove extraneous #include <smp_lock.h> 2010-11-17 08:59:32 -08:00
early_printk.c arch/tile: bomb raw_local_irq_ to arch_local_irq_ 2010-11-01 15:30:42 -04:00
entry.S arch/tile: parameterize system PLs to support KVM port 2010-10-15 15:38:09 -04:00
hardwall.c arch/tile: mark "hardwall" device as non-seekable 2010-11-01 15:31:42 -04:00
head_32.S arch/tile: parameterize system PLs to support KVM port 2010-10-15 15:38:09 -04:00
hvglue.lds arch/tile: Enable more sophisticated IRQ model for 32-bit chips. 2010-07-06 13:34:01 -04:00
init_task.c
intvec_32.S arch/tile: enable single-step support for TILE-Gx 2010-10-15 15:38:26 -04:00
irq.c arch/tile: bomb raw_local_irq_ to arch_local_irq_ 2010-11-01 15:30:42 -04:00
machine_kexec.c arch/tile: complete migration to new kmap_atomic scheme 2010-11-01 15:30:36 -04:00
Makefile pci root complex: support for tile architecture 2010-11-24 13:13:49 -05:00
messaging.c arch/tile: bomb raw_local_irq_ to arch_local_irq_ 2010-11-01 15:30:42 -04:00
module.c arch/tile: Miscellaneous cleanup changes. 2010-07-06 13:41:51 -04:00
pci-dma.c
pci.c pci root complex: support for tile architecture 2010-11-24 13:13:49 -05:00
proc.c arch: tile: kernel/proc.c Removed duplicated #include 2010-08-13 08:10:16 -04:00
process.c arch/tile: handle CLONE_SETTLS in copy_thread(), not user space 2010-12-17 16:56:50 -05:00
ptrace.c arch/tile: don't allow user code to set the PL via ptrace or signal return 2010-11-01 15:31:17 -04:00
reboot.c arch/tile: bomb raw_local_irq_ to arch_local_irq_ 2010-11-01 15:30:42 -04:00
regs_32.S arch/tile: parameterize system PLs to support KVM port 2010-10-15 15:38:09 -04:00
relocate_kernel.S
setup.c arch/tile: make glibc's sysconf(_SC_NPROCESSORS_CONF) work correctly 2010-11-24 13:42:15 -05:00
signal.c BKL: remove extraneous #include <smp_lock.h> 2010-11-17 08:59:32 -08:00
single_step.c arch/tile: enable single-step support for TILE-Gx 2010-10-15 15:38:26 -04:00
smp.c arch/tile: bomb raw_local_irq_ to arch_local_irq_ 2010-11-01 15:30:42 -04:00
smpboot.c BKL: remove extraneous #include <smp_lock.h> 2010-11-17 08:59:32 -08:00
stack.c arch/tile: prevent corrupt top frame from causing backtracer runaway 2010-10-14 15:19:04 -04:00
sys.c BKL: remove extraneous #include <smp_lock.h> 2010-11-17 08:59:32 -08:00
tile-desc_32.c arch/tile: Shrink the tile-opcode files considerably. 2010-07-06 13:40:56 -04:00
time.c arch/tile: bomb raw_local_irq_ to arch_local_irq_ 2010-11-01 15:30:42 -04:00
tlb.c
traps.c arch/tile: enable single-step support for TILE-Gx 2010-10-15 15:38:26 -04:00
vmlinux.lds.S arch/tile: Miscellaneous cleanup changes. 2010-07-06 13:41:51 -04:00