summaryrefslogtreecommitdiffstats
path: root/arch/arc/kernel/smp.c
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2015-12-17 12:22:21 +0530
committerVineet Gupta <vgupta@synopsys.com>2015-12-17 12:56:56 +0530
commit575a9d4e2c09675c05db2bc781c5c33153ce932f (patch)
treee453e976683bd335919824f9dd4ed2e9af99d06d /arch/arc/kernel/smp.c
parentb474a02382b75f4a75c4e94eb9847aad28dd4a37 (diff)
downloadlinux-stable-575a9d4e2c09675c05db2bc781c5c33153ce932f.tar.gz
linux-stable-575a9d4e2c09675c05db2bc781c5c33153ce932f.tar.bz2
linux-stable-575a9d4e2c09675c05db2bc781c5c33153ce932f.zip
ARC: smp: Rename platform hook @init_cpu_smp -> @init_per_cpu
Makes it similar to smp_ops which also has callback with same name 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 0b061a475158..ef6e9e15b82a 100644
--- a/arch/arc/kernel/smp.c
+++ b/arch/arc/kernel/smp.c
@@ -135,8 +135,8 @@ void start_kernel_secondary(void)
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);
+ if (machine_desc->init_per_cpu)
+ machine_desc->init_per_cpu(cpu);
arc_local_timer_setup();