summaryrefslogtreecommitdiff
path: root/arch/arc/kernel/smp.c
diff options
context:
space:
mode:
authorNoam Camus <noamc@ezchip.com>2015-12-16 04:10:27 +0300
committerVineet Gupta <vgupta@synopsys.com>2015-12-17 10:26:43 +0300
commitb474a02382b75f4a75c4e94eb9847aad28dd4a37 (patch)
treebe2d5c077c6f62b682022b5d0a905cf7f8c60496 /arch/arc/kernel/smp.c
parent323f41f9e7d0cb5b1d1586aded6682855f1e646d (diff)
downloadlinux-b474a02382b75f4a75c4e94eb9847aad28dd4a37.tar.xz
ARC: rename smp operation init_irq_cpu() to init_per_cpu()
This will better reflect its description i.e. "any needed setup..." and not just do an "IPI request". Signed-off-by: Noam Camus <noamc@ezchip.com> Acked-by: Vineet Gupta <vgupta@synopsys.com> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/kernel/smp.c')
-rw-r--r--arch/arc/kernel/smp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arc/kernel/smp.c b/arch/arc/kernel/smp.c
index 580587805fa3..0b061a475158 100644
--- a/arch/arc/kernel/smp.c
+++ b/arch/arc/kernel/smp.c
@@ -132,8 +132,8 @@ void start_kernel_secondary(void)
pr_info("## CPU%u LIVE ##: Executing Code...\n", cpu);
/* Some SMP H/w setup - for each cpu */
- if (plat_smp_ops.init_irq_cpu)
- plat_smp_ops.init_irq_cpu(cpu);
+ if (plat_smp_ops.init_per_cpu)
+ plat_smp_ops.init_per_cpu(cpu);
if (machine_desc->init_cpu_smp)
machine_desc->init_cpu_smp(cpu);