aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/include
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-04-15 03:08:20 -0400
committerMike Frysinger <vapier@gentoo.org>2011-05-25 08:13:43 -0400
commitf58c3276d3652b0d96654ba08f0afc87c013da57 (patch)
treea7276504d01d8a0a170f6b52eea80a2cbef6b225 /arch/blackfin/include
parent6327a574f9ce85f0daab8693913003a456f27f1f (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.h14
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 88c35e4ea4bf..77341b3ad351 100644
--- a/arch/blackfin/include/asm/irq_handler.h
+++ b/arch/blackfin/include/asm/irq_handler.h
@@ -14,6 +14,11 @@
14extern int __init init_arch_irq(void); 14extern int __init init_arch_irq(void);
15extern void init_exception_vectors(void); 15extern void init_exception_vectors(void);
16extern void __init program_IAR(void); 16extern void __init program_IAR(void);
17#ifdef init_mach_irq
18extern void __init init_mach_irq(void);
19#else
20# define init_mach_irq()
21#endif
17 22
18/* BASE LEVEL interrupt handler routines */ 23/* BASE LEVEL interrupt handler routines */
19asmlinkage void evt_exception(void); 24asmlinkage void evt_exception(void);
@@ -47,4 +52,13 @@ extern asmlinkage void bfin_return_from_exception(void);
47extern asmlinkage void asm_do_IRQ(unsigned int irq, struct pt_regs *regs); 52extern asmlinkage void asm_do_IRQ(unsigned int irq, struct pt_regs *regs);
48extern int bfin_internal_set_wake(unsigned int irq, unsigned int state); 53extern int bfin_internal_set_wake(unsigned int irq, unsigned int state);
49 54
55struct irq_data;
56extern void bfin_handle_irq(unsigned irq);
57extern void bfin_ack_noop(struct irq_data *);
58extern void bfin_internal_mask_irq(unsigned int irq);
59extern void bfin_internal_unmask_irq(unsigned int irq);
60
61struct irq_desc;
62extern void bfin_demux_mac_status_irq(unsigned int, struct irq_desc *);
63
50#endif 64#endif