diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-10-05 05:13:23 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-10-05 05:13:23 -0400 |
commit | d74310d3b18aabbb7d0549ea9e3fd3259c1dce00 (patch) | |
tree | d31d696a25aa22e8f2490edf287fe28c3a3b98d5 /include/linux/sh_intc.h | |
parent | c1e30ad98fe210688edca872686db4a715c2fb23 (diff) |
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>
Diffstat (limited to 'include/linux/sh_intc.h')
-rw-r--r-- | include/linux/sh_intc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sh_intc.h b/include/linux/sh_intc.h index 04134a6c7b52..1fc69701e0f8 100644 --- a/include/linux/sh_intc.h +++ b/include/linux/sh_intc.h | |||
@@ -117,7 +117,7 @@ struct intc_desc symbol __initdata = { \ | |||
117 | int __init register_intc_controller(struct intc_desc *desc); | 117 | int __init register_intc_controller(struct intc_desc *desc); |
118 | void reserve_intc_vectors(struct intc_vect *vectors, unsigned int nr_vecs); | 118 | void reserve_intc_vectors(struct intc_vect *vectors, unsigned int nr_vecs); |
119 | int intc_set_priority(unsigned int irq, unsigned int prio); | 119 | int intc_set_priority(unsigned int irq, unsigned int prio); |
120 | unsigned int intc_irq_lookup(const char *chipname, intc_enum enum_id); | 120 | int intc_irq_lookup(const char *chipname, intc_enum enum_id); |
121 | void intc_finalize(void); | 121 | void intc_finalize(void); |
122 | 122 | ||
123 | #ifdef CONFIG_INTC_USERIMASK | 123 | #ifdef CONFIG_INTC_USERIMASK |