path: root/kernel/irq/internals.h
diff options
authorThomas Gleixner <>2014-03-13 19:03:51 +0100
committerThomas Gleixner <>2014-03-14 13:43:33 +0100
commit328a4978df833249b099c9875738d7b72042ffe1 (patch)
tree8d35f45b166d16d5bdcbf40d12331118453384d6 /kernel/irq/internals.h
parent4f6e4f71c9d39cf49e0cb1be5b7721db5fbe92ac (diff)
genirq: Add a new IRQCHIP_EOI_THREADED flag
The flag is necessary for interrupt chips which require an ACK/EOI after the handler has run. In case of threaded handlers this needs to happen after the threaded handler has completed before the unmask of the interrupt. The flag is only unseful in combination with the handle_fasteoi_irq flow control handler. It can be combined with the flag IRQCHIP_EOI_IF_HANDLED, so the EOI is not issued when the interrupt is disabled or in progress. Tested-by: Hans de Goede <> Reviewed-by: Hans de Goede <> Cc: Cc: Cc: Maxime Ripard <> Link: Signed-off-by: Thomas Gleixner <>
Diffstat (limited to 'kernel/irq/internals.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/irq/internals.h b/kernel/irq/internals.h
index 17b671713d5f..ddf1ffeb79f1 100644
--- a/kernel/irq/internals.h
+++ b/kernel/irq/internals.h
@@ -74,6 +74,7 @@ extern void irq_percpu_enable(struct irq_desc *desc, unsigned int cpu);
extern void irq_percpu_disable(struct irq_desc *desc, unsigned int cpu);
extern void mask_irq(struct irq_desc *desc);
extern void unmask_irq(struct irq_desc *desc);
+extern void unmask_threaded_irq(struct irq_desc *desc);
extern void init_kstat_irqs(struct irq_desc *desc, int node, int nr);