diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-10-02 22:02:07 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-10-02 22:02:07 +0900 |
commit | 4bacd796ccd6976b03dd490708a1abc291d5521e (patch) | |
tree | 0c0c1d242940e9fdf83952a821a20e2bdcdf0927 /include/linux/sh_intc.h | |
parent | 742759eae6b58a172d8f79ff0938d1e25dc9abc5 (diff) | |
download | linux-stable-4bacd796ccd6976b03dd490708a1abc291d5521e.tar.gz linux-stable-4bacd796ccd6976b03dd490708a1abc291d5521e.tar.bz2 linux-stable-4bacd796ccd6976b03dd490708a1abc291d5521e.zip |
sh: Support early IRQ vector map reservation for delayed controllers.
Some controllers will need to be initialized lazily due to pinmux
constraints, while others may simply have no need to be brought online if
there are no backing devices for them attached. In this case it's still
necessary to be able to reserve their hardware vector map before dynamic
IRQs get a hold of them.
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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sh_intc.h b/include/linux/sh_intc.h index 0d6cd38e673d..bff2f286ca61 100644 --- a/include/linux/sh_intc.h +++ b/include/linux/sh_intc.h @@ -106,6 +106,7 @@ struct intc_desc symbol __initdata = { \ } int __init register_intc_controller(struct intc_desc *desc); +void reserve_intc_vectors(struct intc_vect *vectors, unsigned int nr_vecs); int intc_set_priority(unsigned int irq, unsigned int prio); #ifdef CONFIG_INTC_USERIMASK |