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 88c35e4ea4bf..77341b3ad351 100644 --- a/arch/blackfin/include/asm/irq_handler.h +++ b/arch/blackfin/include/asm/irq_handler.h | |||
@@ -14,6 +14,11 @@ | |||
14 | extern int __init init_arch_irq(void); | 14 | extern int __init init_arch_irq(void); |
15 | extern void init_exception_vectors(void); | 15 | extern void init_exception_vectors(void); |
16 | extern void __init program_IAR(void); | 16 | extern void __init program_IAR(void); |
17 | #ifdef init_mach_irq | ||
18 | extern 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 */ |
19 | asmlinkage void evt_exception(void); | 24 | asmlinkage void evt_exception(void); |
@@ -47,4 +52,13 @@ extern asmlinkage void bfin_return_from_exception(void); | |||
47 | extern asmlinkage void asm_do_IRQ(unsigned int irq, struct pt_regs *regs); | 52 | extern asmlinkage void asm_do_IRQ(unsigned int irq, struct pt_regs *regs); |
48 | extern int bfin_internal_set_wake(unsigned int irq, unsigned int state); | 53 | extern int bfin_internal_set_wake(unsigned int irq, unsigned int state); |
49 | 54 | ||
55 | struct irq_data; | ||
56 | extern void bfin_handle_irq(unsigned irq); | ||
57 | extern void bfin_ack_noop(struct irq_data *); | ||
58 | extern void bfin_internal_mask_irq(unsigned int irq); | ||
59 | extern void bfin_internal_unmask_irq(unsigned int irq); | ||
60 | |||
61 | struct irq_desc; | ||
62 | extern void bfin_demux_mac_status_irq(unsigned int, struct irq_desc *); | ||
63 | |||
50 | #endif | 64 | #endif |