]> bbs.cooldavid.org Git - net-next-2.6.git/commit
sh: intc: Handle early lookups of subgroup IRQs.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 5 Oct 2010 09:13:23 +0000 (18:13 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 5 Oct 2010 09:13:23 +0000 (18:13 +0900)
commitd74310d3b18aabbb7d0549ea9e3fd3259c1dce00
treed31d696a25aa22e8f2490edf287fe28c3a3b98d5
parentc1e30ad98fe210688edca872686db4a715c2fb23
sh: intc: Handle early lookups of subgroup IRQs.

If lookups happen while the radix node still points to a subgroup
mapping, an IRQ hasn't yet been made available for the specified id, so
error out accordingly. Once the slot is replaced with an IRQ mapping and
the tag is discarded, lookup can commence as normal.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/sh/intc.c
include/linux/sh_intc.h