linux/arch/xtensa
Matt Fleming fa47ac5902 xtensa: don't reimplement force_sigsegv()
Instead of open coding the sequence from force_sigsegv() just call it.
This also fixes a bug because we were modifying ka->sa.sa_handler (which
is a copy of sighand->action[]), whereas the intention of the code was to
modify sighand->action[] directly.

As the original code was working with a copy it had no effect on signal
delivery.

Acked-by: Oleg Nesterov <oleg@redhat.com>
Cc: Chris Zankel <chris@zankel.net>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-03-21 17:54:55 -07:00
..
boot xtensa: change to new flag variable 2011-03-17 14:02:57 +01:00
configs time: Cleanup old CONFIG_GENERIC_TIME references that snuck in 2011-10-04 13:07:47 -07:00
include/asm net: Add framework to allow sending packets with customized CRC. 2012-02-24 01:37:35 -08:00
kernel xtensa: don't reimplement force_sigsegv() 2012-03-21 17:54:55 -07:00
lib xtensa: move headers files to arch/xtensa/include 2008-11-06 10:25:09 -08:00
mm mm: now that all old mmu_gather code is gone, remove the storage 2011-05-25 08:39:16 -07:00
platforms TTY: remove serialP.h inclusion from some files 2012-03-08 11:47:02 -08:00
variants XTENSA: static should be at beginning of declaration 2011-07-11 14:13:47 +02:00
Kconfig cpu: Register a generic CPU device on architectures that currently do not 2012-01-11 15:50:11 -08:00
Kconfig.debug
Makefile xtensa: Add -mforce-no-pic option is supported 2010-05-02 01:00:22 -07:00