aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWang Long <long.wanglong@huawei.com>2014-12-23 22:10:00 -0500
committerOlof Johansson <olof@lixom.net>2015-01-21 17:32:53 -0500
commite243f94392e6532c4e3e25c3673b04a2a8671e6c (patch)
treeb527ba5acc2346bf1c077ee72c26c7d162116513
parent82fd132c0d658b0d6ccd928a914b207d1862572f (diff)
ARM: hisi: rename smp_prepares_cpus function
As hix5hd2 and hip01 has the same .smp_prepare_cpus in struct smp_operations, so rename hix5hd2_smp_prepare_cpus to hisi_common_smp_prepare_cpus. the hip01 will use hisi_common_smp_prepare_cpus in its struct smp_operations. 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>
-rw-r--r--arch/arm/mach-hisi/platsmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-hisi/platsmp.c b/arch/arm/mach-hisi/platsmp.c
index 575dd8285f1f..b3c3a584049d 100644
--- a/arch/arm/mach-hisi/platsmp.c
+++ b/arch/arm/mach-hisi/platsmp.c
@@ -96,7 +96,7 @@ struct smp_operations hi3xxx_smp_ops __initdata = {
96#endif 96#endif
97}; 97};
98 98
99static void __init hix5hd2_smp_prepare_cpus(unsigned int max_cpus) 99static void __init hisi_common_smp_prepare_cpus(unsigned int max_cpus)
100{ 100{
101 hisi_enable_scu_a9(); 101 hisi_enable_scu_a9();
102} 102}
@@ -125,7 +125,7 @@ static int hix5hd2_boot_secondary(unsigned int cpu, struct task_struct *idle)
125 125
126 126
127struct smp_operations hix5hd2_smp_ops __initdata = { 127struct smp_operations hix5hd2_smp_ops __initdata = {
128 .smp_prepare_cpus = hix5hd2_smp_prepare_cpus, 128 .smp_prepare_cpus = hisi_common_smp_prepare_cpus,
129 .smp_boot_secondary = hix5hd2_boot_secondary, 129 .smp_boot_secondary = hix5hd2_boot_secondary,
130#ifdef CONFIG_HOTPLUG_CPU 130#ifdef CONFIG_HOTPLUG_CPU
131 .cpu_die = hix5hd2_cpu_die, 131 .cpu_die = hix5hd2_cpu_die,