diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-02-10 07:16:14 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-02-19 06:58:22 -0500 |
commit | d4d5e08960844a062da8387ee5f16ca7a33200d0 (patch) | |
tree | 1154fd87e25595ae9391740a1d9a3d60f69770de /kernel/irq/internals.h | |
parent | 2bff17ad2107c66fc8ca96501a7128dd7fa7a390 (diff) |
genirq: Add IRQCHIP_SET_TYPE_MASKED flag
irq_chips, which require to mask the chip before changing the trigger
type should set this flag. So the core takes care of it and the
requirement for looking into desc->status in the chip goes away.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Linus Walleij <linus.walleij@stericsson.com>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Diffstat (limited to 'kernel/irq/internals.h')
-rw-r--r-- | kernel/irq/internals.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/irq/internals.h b/kernel/irq/internals.h index 6776453c454c..1d500fbde0d4 100644 --- a/kernel/irq/internals.h +++ b/kernel/irq/internals.h | |||
@@ -84,6 +84,8 @@ extern int irq_startup(struct irq_desc *desc); | |||
84 | extern void irq_shutdown(struct irq_desc *desc); | 84 | extern void irq_shutdown(struct irq_desc *desc); |
85 | extern void irq_enable(struct irq_desc *desc); | 85 | extern void irq_enable(struct irq_desc *desc); |
86 | extern void irq_disable(struct irq_desc *desc); | 86 | extern void irq_disable(struct irq_desc *desc); |
87 | extern void mask_irq(struct irq_desc *desc); | ||
88 | extern void unmask_irq(struct irq_desc *desc); | ||
87 | 89 | ||
88 | extern void init_kstat_irqs(struct irq_desc *desc, int node, int nr); | 90 | extern void init_kstat_irqs(struct irq_desc *desc, int node, int nr); |
89 | 91 | ||