mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
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>
This commit is contained in:
parent
916d6121b5
commit
344bc8b0c8
1 changed files with 0 additions and 5 deletions
|
@ -46,11 +46,6 @@ void __init sh73a0_register_twd(void)
|
||||||
static int sh73a0_boot_secondary(unsigned int cpu, struct task_struct *idle)
|
static int sh73a0_boot_secondary(unsigned int cpu, struct task_struct *idle)
|
||||||
{
|
{
|
||||||
unsigned int lcpu = cpu_logical_map(cpu);
|
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)
|
if (((__raw_readl(PSTR) >> (4 * lcpu)) & 3) == 3)
|
||||||
__raw_writel(1 << lcpu, WUPCR); /* wake up */
|
__raw_writel(1 << lcpu, WUPCR); /* wake up */
|
||||||
|
|
Loading…
Add table
Reference in a new issue