OpenCloudOS-Kernel/arch/sh/kernel/cpu
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
..
irq Disintegrate asm/system.h for SH 2012-03-28 18:30:03 +01:00
sh2 sh: sh2: Change the specification method of IRQ to SCIx_IRQ_MUXED 2012-04-17 16:17:33 +09:00
sh2a sh: sh7269: Fix LCD pinmux 2012-08-09 13:16:55 +09:00
sh3 sh: Fix up se7721 GPIOLIB=y build warnings. 2012-07-02 15:06:22 +09:00
sh4 Merge branch 'sh/evt2irq-migration' into sh-latest 2012-05-18 18:13:27 +09:00
sh4a sh: explicitly include sh_dma.h in setup-sh7722.c 2012-08-02 15:37:26 +09:00
sh5 sh: Fix up TIF_NOTIFY_RESUME sans TIF_SIGPENDING handling. 2012-09-18 17:04:37 +09:00
shmobile SuperH updates for 3.4-rc1 2012-04-07 09:52:46 -07:00
Makefile sh: hwblk: Kill off remaining bits of hwblk API. 2011-11-18 16:26:00 +09:00
adc.c sh: Mass ctrl_in/outX to __raw_read/writeX conversion. 2010-01-26 12:58:40 +09:00
clock-cpg.c sh: move CLKDEV_xxx_ID macro to sh_clk.h 2011-07-11 15:07:25 +09:00
clock.c ARM: 6483/1: arm & sh: factorised duplicated clkdev.c 2010-11-26 10:51:04 +00:00
fpu.c sh: fix up fallout from system.h disintegration. 2012-03-30 19:29:57 +09:00
init.c Disintegrate asm/system.h for SH 2012-03-28 18:30:03 +01:00
proc.c Merge branches 'sh/wdt' and 'sh/rsk-updates' into sh-latest 2012-05-10 17:20:56 +09:00