diff options
Diffstat (limited to 'arch/arm/kernel/irq.c')
-rw-r--r-- | arch/arm/kernel/irq.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/kernel/irq.c b/arch/arm/kernel/irq.c index 896165096d6a..8e4ef4c83a74 100644 --- a/arch/arm/kernel/irq.c +++ b/arch/arm/kernel/irq.c | |||
@@ -117,6 +117,16 @@ void __init init_IRQ(void) | |||
117 | machine_desc->init_irq(); | 117 | machine_desc->init_irq(); |
118 | } | 118 | } |
119 | 119 | ||
120 | #ifdef CONFIG_MULTI_IRQ_HANDLER | ||
121 | void __init set_handle_irq(void (*handle_irq)(struct pt_regs *)) | ||
122 | { | ||
123 | if (handle_arch_irq) | ||
124 | return; | ||
125 | |||
126 | handle_arch_irq = handle_irq; | ||
127 | } | ||
128 | #endif | ||
129 | |||
120 | #ifdef CONFIG_SPARSE_IRQ | 130 | #ifdef CONFIG_SPARSE_IRQ |
121 | int __init arch_probe_nr_irqs(void) | 131 | int __init arch_probe_nr_irqs(void) |
122 | { | 132 | { |