linux/drivers/sh
Thomas Gleixner beab99fe83 sh/intc: Fix potential race in installing chained IRQ handler
Fix a race where a pending interrupt could be received and the handler
called before the handler's data has been setup, by moving the call to
irq_set_chained_handler() after the function which sets up the handler
data.

Found by code inspection.

Reported-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Simon Horman <horms@verge.net.au>
Cc: Magnus Damm <magnus.damm@gmail.com>
Cc: linux-sh@vger.kernel.org
2015-06-25 11:57:19 +02:00
..
clk sh: clk: Use cpufreq_for_each_valid_entry macro for iteration 2014-04-30 00:07:00 +02:00
intc sh/intc: Fix potential race in installing chained IRQ handler 2015-06-25 11:57:19 +02:00
maple sh: Add module.h to arch/sh specific files as required. 2011-10-31 19:31:04 -04:00
superhyway sh: struct device - replace bus_id with dev_name(), dev_set_name() 2009-03-24 16:38:21 -07:00
Kconfig sh-pfc: Move driver from drivers/sh/ to drivers/pinctrl/ 2013-01-25 09:24:25 +09:00
Makefile sh: intc: Confine SH_INTC to platforms that need it 2014-08-22 12:28:16 +09:00
pm_runtime.c drivers: sh: Remove test for now unsupported sh7372 2015-04-27 13:08:14 +09:00