ARM: shmobile: Let sh73a0 rely on SCU CPU notifier
authorMagnus Damm <damm@opensource.se>
Sat, 14 Sep 2013 13:46:34 +0000 (22:46 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 30 Sep 2013 08:56:09 +0000 (17:56 +0900)
Now when CPU notifiers are used for SCU boot vector
setup shmobile_smp_scu_boot_secondary() is no longer
needed.

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

index 9a30a3f..13ba36a 100644 (file)
@@ -46,11 +46,6 @@ void __init sh73a0_register_twd(void)
 static int sh73a0_boot_secondary(unsigned int cpu, struct task_struct *idle)
 {
        unsigned int lcpu = cpu_logical_map(cpu);
-       int ret;
-
-       ret = shmobile_smp_scu_boot_secondary(cpu, idle);
-       if (ret)
-               return ret;
 
        if (((__raw_readl(PSTR) >> (4 * lcpu)) & 3) == 3)
                __raw_writel(1 << lcpu, WUPCR); /* wake up */