aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/smp-sh73a0.c
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2013-09-14 22:46:34 +0900
committerSimon Horman <horms+renesas@verge.net.au>2013-09-30 17:56:09 +0900
commit344bc8b0c85a63cd2d946376a391e74f4ea0ae46 (patch)
tree9f7585dba81205dc3848387bf70cd61dc43fe079 /arch/arm/mach-shmobile/smp-sh73a0.c
parentARM: shmobile: Add CPU notifier based SCU boot vector code (diff)
downloadlinux-dev-344bc8b0c85a63cd2d946376a391e74f4ea0ae46.tar.xz
linux-dev-344bc8b0c85a63cd2d946376a391e74f4ea0ae46.zip
ARM: shmobile: Let sh73a0 rely on SCU CPU notifier
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>
Diffstat (limited to 'arch/arm/mach-shmobile/smp-sh73a0.c')
-rw-r--r--arch/arm/mach-shmobile/smp-sh73a0.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/mach-shmobile/smp-sh73a0.c b/arch/arm/mach-shmobile/smp-sh73a0.c
index 9a30a3fc7e7d..13ba36a6831f 100644
--- a/arch/arm/mach-shmobile/smp-sh73a0.c
+++ b/arch/arm/mach-shmobile/smp-sh73a0.c
@@ -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 */