diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2015-12-17 07:52:21 +0100 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2015-12-17 08:26:56 +0100 |
commit | 575a9d4e2c09675c05db2bc781c5c33153ce932f (patch) | |
tree | e453e976683bd335919824f9dd4ed2e9af99d06d /arch/arc/kernel | |
parent | ARC: rename smp operation init_irq_cpu() to init_per_cpu() (diff) | |
download | linux-575a9d4e2c09675c05db2bc781c5c33153ce932f.tar.xz linux-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')
-rw-r--r-- | arch/arc/kernel/irq.c | 4 | ||||
-rw-r--r-- | arch/arc/kernel/smp.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/arc/kernel/irq.c b/arch/arc/kernel/irq.c index 3917fe7e62fc..ba17f85285cf 100644 --- a/arch/arc/kernel/irq.c +++ b/arch/arc/kernel/irq.c @@ -32,8 +32,8 @@ void __init init_IRQ(void) if (plat_smp_ops.init_per_cpu) plat_smp_ops.init_per_cpu(smp_processor_id()); - if (machine_desc->init_cpu_smp) - machine_desc->init_cpu_smp(smp_processor_id()); + if (machine_desc->init_per_cpu) + machine_desc->init_per_cpu(smp_processor_id()); #endif } 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(); |