diff options
Diffstat (limited to 'arch/arc/kernel/irq.c')
-rw-r--r-- | arch/arc/kernel/irq.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arc/kernel/irq.c b/arch/arc/kernel/irq.c index df7da2b5a5bd..1198168850e8 100644 --- a/arch/arc/kernel/irq.c +++ b/arch/arc/kernel/irq.c | |||
@@ -13,6 +13,7 @@ | |||
13 | #include <linux/irqdomain.h> | 13 | #include <linux/irqdomain.h> |
14 | #include <asm/sections.h> | 14 | #include <asm/sections.h> |
15 | #include <asm/irq.h> | 15 | #include <asm/irq.h> |
16 | #include <asm/mach_desc.h> | ||
16 | 17 | ||
17 | /* | 18 | /* |
18 | * Early Hardware specific Interrupt setup | 19 | * Early Hardware specific Interrupt setup |
@@ -125,9 +126,15 @@ void __init init_IRQ(void) | |||
125 | init_onchip_IRQ(); | 126 | init_onchip_IRQ(); |
126 | plat_init_IRQ(); | 127 | plat_init_IRQ(); |
127 | 128 | ||
129 | /* Any external intc can be setup here */ | ||
130 | if (machine_desc->init_irq) | ||
131 | machine_desc->init_irq(); | ||
132 | |||
128 | #ifdef CONFIG_SMP | 133 | #ifdef CONFIG_SMP |
129 | /* Master CPU can initialize it's side of IPI */ | 134 | /* Master CPU can initialize it's side of IPI */ |
130 | arc_platform_smp_init_cpu(); | 135 | arc_platform_smp_init_cpu(); |
136 | if (machine_desc->init_smp) | ||
137 | machine_desc->init_smp(smp_processor_id()); | ||
131 | #endif | 138 | #endif |
132 | } | 139 | } |
133 | 140 | ||