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
	ab99c733ae73cce31f2a2434f7099564e5a73d95 ("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
..
2012-03-28 16:36:37 +02:00
2012-05-24 15:03:46 +09:00
2010-09-30 09:43:32 +09:00
2012-05-08 12:35:07 +02:00
2012-03-28 18:30:03 +01:00
2010-06-02 16:31:42 +09:00
2010-11-01 09:49:04 -04:00
2010-11-01 09:49:04 -04:00
2010-10-07 14:08:55 +01:00
2010-06-14 17:06:10 +09:00
2012-05-21 17:54:01 +09:00
2012-05-05 13:00:25 +02:00
2010-06-14 15:16:53 +09:00
2012-03-28 18:30:03 +01:00
2012-06-01 12:58:52 -04:00
2012-06-01 12:58:52 -04:00
2012-05-31 17:49:30 -07:00
2011-07-26 16:49:47 -07:00