android_kernel_xiaomi_sm8350/arch/mn10300
Mark Salter 4c03ee7352 mn10300: signal stack fix
This fixes a signal stack handling problem in the MN10300 arch.  When new
threads are cloned with CLONE_VM, they don't inherit the alternate signal
stack.  They do share the signal flags, though.  When deciding whether to
use an alternate stack, the arch code needs to check to make sure the task
struct contains a valid alternate stack.  This patch fixes the MN10300
arch by using the sas_ss_flags() test provided by sched.h rather than the
on_sig_stack() test which is insufficient by itself.

Signed-off-by: Mark Salter <msalter@redhat.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-01-11 09:34:07 -08:00
..
boot inflate: refactor inflate malloc code 2008-07-25 10:53:28 -07:00
configs MN10300: Update the ASB2303 defconfig 2009-04-24 07:47:59 -07:00
include/asm Merge branch 'for-33' of git://repo.or.cz/linux-kbuild 2009-12-17 07:23:42 -08:00
kernel mn10300: signal stack fix 2010-01-11 09:34:07 -08:00
lib mn10300: provide __ucmpdi2() for MN10300 2008-07-04 10:40:07 -07:00
mm mm: make totalhigh_pages unsigned long 2010-01-11 09:34:03 -08:00
oprofile MN10300: Kill MN10300's own profiling Kconfig 2009-04-09 10:53:16 -07:00
proc-mn103e010 Separate out the proc- and unit-specific header directories from the general 2009-04-10 14:33:48 +01:00
unit-asb2303 mn10300: fix kernel build failures when using gcc-4.x 2009-10-01 16:11:12 -07:00
unit-asb2305 mn10300: fix kernel build failures when using gcc-4.x 2009-10-01 16:11:12 -07:00
Kconfig MN10300: Add utrace/tracehooks support 2009-06-11 09:02:20 -07:00
Kconfig.debug MN10300: Add built-in testing for misalignment handler 2008-11-12 10:41:17 -08:00
Makefile Separate out the proc- and unit-specific header directories from the general 2009-04-10 14:33:48 +01:00