aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/irq.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/irq.h b/include/linux/irq.h
index bea40556c5a6..30a300991ed4 100644
--- a/include/linux/irq.h
+++ b/include/linux/irq.h
@@ -214,6 +214,12 @@ struct irq_chip {
214 */ 214 */
215#include <asm/hw_irq.h> 215#include <asm/hw_irq.h>
216 216
217#ifndef ARCH_IRQ_INIT_FLAGS
218# define ARCH_IRQ_INIT_FLAGS 0
219#endif
220
221#define IRQ_DEFAULT_INIT_FLAGS (IRQ_DISABLED | ARCH_IRQ_INIT_FLAGS)
222
217struct irqaction; 223struct irqaction;
218extern int setup_irq(unsigned int irq, struct irqaction *new); 224extern int setup_irq(unsigned int irq, struct irqaction *new);
219extern void remove_irq(unsigned int irq, struct irqaction *act); 225extern void remove_irq(unsigned int irq, struct irqaction *act);