diff options
Diffstat (limited to 'arch/arc/plat-arcfpga/smp.c')
-rw-r--r-- | arch/arc/plat-arcfpga/smp.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arc/plat-arcfpga/smp.c b/arch/arc/plat-arcfpga/smp.c index a95fcdb29033..fec18793bbe0 100644 --- a/arch/arc/plat-arcfpga/smp.c +++ b/arch/arc/plat-arcfpga/smp.c | |||
@@ -63,10 +63,8 @@ void arc_platform_smp_wakeup_cpu(int cpu, unsigned long pc) | |||
63 | * -Master : init_IRQ() | 63 | * -Master : init_IRQ() |
64 | * -Other(s) : start_kernel_secondary() | 64 | * -Other(s) : start_kernel_secondary() |
65 | */ | 65 | */ |
66 | void arc_platform_smp_init_cpu(void) | 66 | void iss_model_init_smp(unsigned int cpu) |
67 | { | 67 | { |
68 | int cpu = smp_processor_id(); | ||
69 | |||
70 | /* Check if CPU is configured for more than 16 interrupts */ | 68 | /* Check if CPU is configured for more than 16 interrupts */ |
71 | if (NR_IRQS <= 16 || get_hw_config_num_irq() <= 16) | 69 | if (NR_IRQS <= 16 || get_hw_config_num_irq() <= 16) |
72 | panic("[arcfpga] IRQ system can't support IDU IPI\n"); | 70 | panic("[arcfpga] IRQ system can't support IDU IPI\n"); |