diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2015-10-13 15:26:00 +0530 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2015-10-28 16:13:40 +0530 |
commit | 8721a7f5a6f95c38cacbe1be22c820a7698926ef (patch) | |
tree | 23edd43402fd28013cf0378ab03123c5838ea291 /arch/arc/kernel | |
parent | 26b8f996239884451aeb1213747e3ca808c26024 (diff) |
ARC: smp: Rename platform hook @init_smp -> @init_cpu_smp
This conveys better that it is called for each cpu
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 156489af75e8..1dd8f2685afc 100644 --- a/arch/arc/kernel/irq.c +++ b/arch/arc/kernel/irq.c @@ -28,8 +28,8 @@ void __init init_IRQ(void) #ifdef CONFIG_SMP /* Master CPU can initialize it's side of IPI */ - if (machine_desc->init_smp) - machine_desc->init_smp(smp_processor_id()); + if (machine_desc->init_cpu_smp) + machine_desc->init_cpu_smp(smp_processor_id()); #endif } diff --git a/arch/arc/kernel/smp.c b/arch/arc/kernel/smp.c index a59a53f98877..35ee18f1de58 100644 --- a/arch/arc/kernel/smp.c +++ b/arch/arc/kernel/smp.c @@ -131,8 +131,8 @@ void start_kernel_secondary(void) pr_info("## CPU%u LIVE ##: Executing Code...\n", cpu); - if (machine_desc->init_smp) - machine_desc->init_smp(cpu); + if (machine_desc->init_cpu_smp) + machine_desc->init_cpu_smp(cpu); arc_local_timer_setup(); |