ARM: shmobile: Remove shmobile_smp_scu_boot_secondary()
authorMagnus Damm <damm@opensource.se>
Sat, 14 Sep 2013 13:47:02 +0000 (22:47 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 30 Sep 2013 08:56:10 +0000 (17:56 +0900)
Remove shmobile_smp_scu_boot_secondary() since
it is no longer used. CPU boot vector setup is
instead handled by CPU notifiers.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/include/mach/common.h
arch/arm/mach-shmobile/platsmp-scu.c

index 3460bb13c988c73a9879228682375bd44aef0bd0..e31980590eb452bbc209400d303e9d6d016181d7 100644 (file)
@@ -18,8 +18,6 @@ extern int shmobile_smp_cpu_disable(unsigned int cpu);
 extern void shmobile_invalidate_start(void);
 extern void shmobile_boot_scu(void);
 extern void shmobile_smp_scu_prepare_cpus(unsigned int max_cpus);
-extern int shmobile_smp_scu_boot_secondary(unsigned int cpu,
-                                          struct task_struct *idle);
 extern void shmobile_smp_scu_cpu_die(unsigned int cpu);
 extern int shmobile_smp_scu_cpu_kill(unsigned int cpu);
 extern void shmobile_smp_apmu_prepare_cpus(unsigned int max_cpus);
index 49ae8dfc625d5c7cdaa48bf8685070032f84e184..673ad6e808694f1cab787fe6430090900efc8150 100644 (file)
@@ -51,14 +51,6 @@ void __init shmobile_smp_scu_prepare_cpus(unsigned int max_cpus)
        register_cpu_notifier(&shmobile_smp_scu_notifier);
 }
 
-int shmobile_smp_scu_boot_secondary(unsigned int cpu, struct task_struct *idle)
-{
-       /* For this particular CPU register SCU boot vector */
-       shmobile_smp_hook(cpu, virt_to_phys(shmobile_boot_scu),
-                         (unsigned long)shmobile_scu_base);
-       return 0;
-}
-
 #ifdef CONFIG_HOTPLUG_CPU
 void shmobile_smp_scu_cpu_die(unsigned int cpu)
 {