diff options
| author | Jiang Liu <jiang.liu@linux.intel.com> | 2014-11-06 09:20:16 -0500 |
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2014-11-23 07:01:46 -0500 |
| commit | 85f08c17de26f117be6ca7aa260d2ec02a2248ba (patch) | |
| tree | 8a3d7091188c77e8fc6534b3db1394a08bba8128 /include/linux | |
| parent | 0cc01abab6412f3a76256bb57ca58dcb94a6edc7 (diff) | |
genirq: Introduce helper functions to support stacked irq_chip
Now we already support hierarchy irq_data, so introduce several helpers
to support stacked irq_chips.
Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Grant Likely <grant.likely@linaro.org>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Yingjoe Chen <yingjoe.chen@mediatek.com>
Cc: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/irq.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/irq.h b/include/linux/irq.h index 13ba412ce3a0..0adcbbbf2e87 100644 --- a/include/linux/irq.h +++ b/include/linux/irq.h | |||
| @@ -443,6 +443,11 @@ extern void handle_percpu_devid_irq(unsigned int irq, struct irq_desc *desc); | |||
| 443 | extern void handle_bad_irq(unsigned int irq, struct irq_desc *desc); | 443 | extern void handle_bad_irq(unsigned int irq, struct irq_desc *desc); |
| 444 | extern void handle_nested_irq(unsigned int irq); | 444 | extern void handle_nested_irq(unsigned int irq); |
| 445 | 445 | ||
| 446 | #ifdef CONFIG_IRQ_DOMAIN_HIERARCHY | ||
| 447 | extern void irq_chip_ack_parent(struct irq_data *data); | ||
| 448 | extern int irq_chip_retrigger_hierarchy(struct irq_data *data); | ||
| 449 | #endif | ||
| 450 | |||
| 446 | /* Handling of unhandled and spurious interrupts: */ | 451 | /* Handling of unhandled and spurious interrupts: */ |
| 447 | extern void note_interrupt(unsigned int irq, struct irq_desc *desc, | 452 | extern void note_interrupt(unsigned int irq, struct irq_desc *desc, |
| 448 | irqreturn_t action_ret); | 453 | irqreturn_t action_ret); |
