summaryrefslogtreecommitdiff
path: root/arch/arc/plat-arcfpga/smp.c
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2013-01-23 16:32:48 +0530
committerVineet Gupta <vgupta@synopsys.com>2013-02-15 23:16:14 +0530
commit877768c84d6ca8f7dedafff0e44615a12e82f8f4 (patch)
treebf81883aecb24a75ae899a84c40290ef735008ba /arch/arc/plat-arcfpga/smp.c
parent03a6d28cdddfbd11b338c23e7fe51d0816b9bdef (diff)
ARC: [Review] Multi-platform image #3: switch to board callback
-platform API is retired and instead callbacks are used Signed-off-by: Vineet Gupta <vgupta@synopsys.com> Cc: Arnd Bergmann <arnd@arndb.de> Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arc/plat-arcfpga/smp.c')
-rw-r--r--arch/arc/plat-arcfpga/smp.c4
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)
* -Master : init_IRQ()
* -Other(s) : start_kernel_secondary()
*/
-void arc_platform_smp_init_cpu(void)
+void iss_model_init_smp(unsigned int cpu)
{
- int cpu = smp_processor_id();
-
/* Check if CPU is configured for more than 16 interrupts */
if (NR_IRQS <= 16 || get_hw_config_num_irq() <= 16)
panic("[arcfpga] IRQ system can't support IDU IPI\n");