tmp_suning_uos_patched/arch/tile
Chris Metcalf 34a89d26bd arch/tile: correct double syscall restart for nested signals
This change is modelled on similar fixes for other architectures.
The pt_regs "faultnum" member is set to the trap (fault) number that
caused us to enter the kernel, and is INT_SWINT_1 for the syscall software
interrupt.  We already supported a pseudo value, INT_SWINT_1_SIGRETURN,
that we used for the rt_sigreturn syscall; it avoided the case where
one signal was handled, then we "tail-called" to another handler.

This change avoids the similar case where we start to call one handler,
then are preempted into another handler when we start trying to run
the first handler.  We clear ->faultnum after calling handle_signal(),
and to be paranoid also in the case where there was no signal to deliver.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
2010-11-01 15:31:04 -04:00
..
configs defconfig reduction 2010-08-14 22:26:53 +02:00
include arch/tile: complete migration to new kmap_atomic scheme 2010-11-01 15:30:36 -04:00
kernel arch/tile: correct double syscall restart for nested signals 2010-11-01 15:31:04 -04:00
kvm arch/tile: parameterize system PLs to support KVM port 2010-10-15 15:38:09 -04:00
lib arch/tile: complete migration to new kmap_atomic scheme 2010-11-01 15:30:36 -04:00
mm arch/tile: avoid __must_check warning on one strict_strtol check 2010-11-01 15:30:53 -04:00
Kbuild arch/tile: core support for Tilera 32-bit chips. 2010-06-04 17:11:18 -04:00
Kconfig Merge branch 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6 2010-10-28 16:16:39 -07:00
Kconfig.debug arch/tile: core support for Tilera 32-bit chips. 2010-06-04 17:11:18 -04:00
Makefile arch/tile: parameterize system PLs to support KVM port 2010-10-15 15:38:09 -04:00