diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-04-15 03:08:20 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-05-25 08:13:43 -0400 |
commit | f58c3276d3652b0d96654ba08f0afc87c013da57 (patch) | |
tree | a7276504d01d8a0a170f6b52eea80a2cbef6b225 /arch/blackfin/include | |
parent | 6327a574f9ce85f0daab8693913003a456f27f1f (diff) |
Blackfin: move bf537-specific irq code out of common code
The SIC interrupt line muxing that the bf537 does is specific to this
CPU (thankfully), so rip it out of the common code and move it to a
bf537-specific file. This tidies up the common code significantly.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/include')
-rw-r--r-- | arch/blackfin/include/asm/irq_handler.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/blackfin/include/asm/irq_handler.h b/arch/blackfin/include/asm/irq_handler.h index 88c35e4ea4b..77341b3ad35 100644 --- a/arch/blackfin/include/asm/irq_handler.h +++ b/arch/blackfin/include/asm/irq_handler.h @@ -14,6 +14,11 @@ extern int __init init_arch_irq(void); extern void init_exception_vectors(void); extern void __init program_IAR(void); +#ifdef init_mach_irq +extern void __init init_mach_irq(void); +#else +# define init_mach_irq() +#endif /* BASE LEVEL interrupt handler routines */ asmlinkage void evt_exception(void); @@ -47,4 +52,13 @@ extern asmlinkage void bfin_return_from_exception(void); extern asmlinkage void asm_do_IRQ(unsigned int irq, struct pt_regs *regs); extern int bfin_internal_set_wake(unsigned int irq, unsigned int state); +struct irq_data; +extern void bfin_handle_irq(unsigned irq); +extern void bfin_ack_noop(struct irq_data *); +extern void bfin_internal_mask_irq(unsigned int irq); +extern void bfin_internal_unmask_irq(unsigned int irq); + +struct irq_desc; +extern void bfin_demux_mac_status_irq(unsigned int, struct irq_desc *); + #endif |