diff options
Diffstat (limited to 'include/linux/sh_intc.h')
-rw-r--r-- | include/linux/sh_intc.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/sh_intc.h b/include/linux/sh_intc.h index 01d8168c5a1b..f0e8cca199c7 100644 --- a/include/linux/sh_intc.h +++ b/include/linux/sh_intc.h | |||
@@ -99,6 +99,15 @@ struct intc_desc symbol __initdata = { \ | |||
99 | int __init register_intc_controller(struct intc_desc *desc); | 99 | int __init register_intc_controller(struct intc_desc *desc); |
100 | int intc_set_priority(unsigned int irq, unsigned int prio); | 100 | int intc_set_priority(unsigned int irq, unsigned int prio); |
101 | 101 | ||
102 | #ifdef CONFIG_INTC_USERIMASK | ||
103 | int register_intc_userimask(unsigned long addr); | ||
104 | #else | ||
105 | static inline int register_intc_userimask(unsigned long addr) | ||
106 | { | ||
107 | return 0; | ||
108 | } | ||
109 | #endif | ||
110 | |||
102 | int reserve_irq_vector(unsigned int irq); | 111 | int reserve_irq_vector(unsigned int irq); |
103 | void reserve_irq_legacy(void); | 112 | void reserve_irq_legacy(void); |
104 | 113 | ||