aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-10-05 05:13:23 -0400
committerPaul Mundt <lethal@linux-sh.org>2010-10-05 05:13:23 -0400
commitd74310d3b18aabbb7d0549ea9e3fd3259c1dce00 (patch)
treed31d696a25aa22e8f2490edf287fe28c3a3b98d5 /include/linux
parentc1e30ad98fe210688edca872686db4a715c2fb23 (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')
-rw-r--r--include/linux/sh_intc.h2
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 = { \
117int __init register_intc_controller(struct intc_desc *desc); 117int __init register_intc_controller(struct intc_desc *desc);
118void reserve_intc_vectors(struct intc_vect *vectors, unsigned int nr_vecs); 118void reserve_intc_vectors(struct intc_vect *vectors, unsigned int nr_vecs);
119int intc_set_priority(unsigned int irq, unsigned int prio); 119int intc_set_priority(unsigned int irq, unsigned int prio);
120unsigned int intc_irq_lookup(const char *chipname, intc_enum enum_id); 120int intc_irq_lookup(const char *chipname, intc_enum enum_id);
121void intc_finalize(void); 121void intc_finalize(void);
122 122
123#ifdef CONFIG_INTC_USERIMASK 123#ifdef CONFIG_INTC_USERIMASK