aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-hisi/platsmp.c
diff options
context:
space:
mode:
authorWang Long <long.wanglong@huawei.com>2014-12-24 03:10:01 +0000
committerOlof Johansson <olof@lixom.net>2015-01-21 14:33:01 -0800
commit29d189e1395a3f0924f7a442bb4b968c9e6de9c1 (patch)
treef301739ed6820ee744ce4df91858ccd1d3a7be31 /arch/arm/mach-hisi/platsmp.c
parentARM: hisi: rename smp_prepares_cpus function (diff)
downloadlinux-dev-29d189e1395a3f0924f7a442bb4b968c9e6de9c1.tar.xz
linux-dev-29d189e1395a3f0924f7a442bb4b968c9e6de9c1.zip
ARM: hisi: rename secondary_startup function
As hix5hd2 and hip01 has the same secondary_startup so rename hix5hd2_secondary_startup to to hisi_secondary_startup. the hip01 will use hisi_secondary_startup for the secondary core boot. Signed-off-by: Wang Long <long.wanglong@huawei.com> Signed-off-by: Wei Xu <xuwei5@hisilicon.com> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to '')
-rw-r--r--arch/arm/mach-hisi/platsmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-hisi/platsmp.c b/arch/arm/mach-hisi/platsmp.c
index b3c3a584049d..4a70f5610a2c 100644
--- a/arch/arm/mach-hisi/platsmp.c
+++ b/arch/arm/mach-hisi/platsmp.c
@@ -116,7 +116,7 @@ static int hix5hd2_boot_secondary(unsigned int cpu, struct task_struct *idle)
{
phys_addr_t jumpaddr;
- jumpaddr = virt_to_phys(hix5hd2_secondary_startup);
+ jumpaddr = virt_to_phys(hisi_secondary_startup);
hix5hd2_set_scu_boot_addr(HIX5HD2_BOOT_ADDRESS, jumpaddr);
hix5hd2_set_cpu(cpu, true);
arch_send_wakeup_ipi_mask(cpumask_of(cpu));