diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-09-18 10:04:37 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2012-09-18 10:04:37 +0200 |
commit | 5e071e2b4b82599f07cce5e1d2d272feb462950c (patch) | |
tree | a8113effc2ea9a29b876f2c08c87018dc5c9da5f /arch/ia64 | |
parent | sh: pfc: Release spinlock in sh_pfc_gpio_request_enable() error path (diff) | |
download | linux-5e071e2b4b82599f07cce5e1d2d272feb462950c.tar.xz linux-5e071e2b4b82599f07cce5e1d2d272feb462950c.zip |
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>
Diffstat (limited to 'arch/ia64')
0 files changed, 0 insertions, 0 deletions