OpenCloudOS-Kernel/arch/sh/kernel/cpu/sh5
Al Viro 5e071e2b4b sh: Fix up TIF_NOTIFY_RESUME sans TIF_SIGPENDING handling.
As Al notes, we missed a TIF_NOTIFY_RESUME check which caused any
handlers without TIF_SIGPENDING also set to skip the notification:

	Looks like while it is in the relevant masks *and* checked in
	do_notify_resume() both on 32bit and 64bit variants since commit
	ab99c733ae ("sh: Make syscall tracer
	use tracehook notifiers, add TIF_NOTIFY_RESUME.") they are
	actually *not* reached without simulataneous SIGPENDING, since
	the actual glue in the callers had not been updated back then and
	still checks for _TIF_SIGPENDING alone when deciding whether to
	hit do_notify_resume() or not.

Reported-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Tested-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2012-09-18 17:04:37 +09:00
..
Makefile sh: Integrate the SH-5 onchip_remap() more coherently. 2009-05-07 18:10:27 +09:00
clock-sh5.c sh: sh5 sh_clk_ops rename 2012-03-12 22:19:12 +01:00
entry.S sh: Fix up TIF_NOTIFY_RESUME sans TIF_SIGPENDING handling. 2012-09-18 17:04:37 +09:00
fpu.c sh64: Kill off unused trap_no/error_code from thread_struct. 2012-04-19 17:52:20 +09:00
probe.c sh: Tidy CPU probing and fixup section annotations. 2010-04-21 12:01:06 +09:00
setup-sh5.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 into common/serial-rework 2011-01-13 15:06:28 +09:00
switchto.S sh: comment tidying for sh64->sh migration. 2008-01-28 13:18:58 +09:00
unwind.c sh64: Convert to unwinder API. 2012-05-24 15:03:46 +09:00