summaryrefslogtreecommitdiff
path: root/arch/xtensa/include/asm/irq.h
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2013-12-01 12:59:49 +0400
committerChris Zankel <chris@zankel.net>2014-01-14 22:19:56 +0400
commitcbd1de2e8e46207cead11034f92ea8a018b11189 (patch)
treeaba9a9486122ed6bf3a849365424742645ad5766 /arch/xtensa/include/asm/irq.h
parentc8f3a7dc0102fc9f89cc373c6dd7beb49916a695 (diff)
downloadlinux-cbd1de2e8e46207cead11034f92ea8a018b11189.tar.xz
xtensa: move built-in PIC to drivers/irqchip
Extract xtensa built-in interrupt controller implementation from xtensa/kernel/irq.c and move it to other irqchips, providing way to instantiate it from the device tree. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/xtensa/include/asm/irq.h')
-rw-r--r--arch/xtensa/include/asm/irq.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/xtensa/include/asm/irq.h b/arch/xtensa/include/asm/irq.h
index 4c0ccc9c4f4c..16464f2f8ecc 100644
--- a/arch/xtensa/include/asm/irq.h
+++ b/arch/xtensa/include/asm/irq.h
@@ -43,5 +43,12 @@ static __inline__ int irq_canonicalize(int irq)
}
struct irqaction;
+struct irq_domain;
+
+int xtensa_irq_domain_xlate(const u32 *intspec, unsigned int intsize,
+ unsigned long int_irq, unsigned long ext_irq,
+ unsigned long *out_hwirq, unsigned int *out_type);
+int xtensa_irq_map(struct irq_domain *d, unsigned int irq, irq_hw_number_t hw);
+unsigned xtensa_map_ext_irq(unsigned ext_irq);
#endif /* _XTENSA_IRQ_H */