ARM: mach-shmobile: sh73a0 PSTR 32-bit access fix
Magnus Damm
maintainerPATCH 1/1 ARM: mach-shmobile: sh73a0 PSTR 32-bit access fix
From: Magnus Damm <[email protected]>
Convert the sh73a0 SMP code to use 32-bit PSTR access.
This fixes wakeup from deep sleep for sh73a0 secondary CPUs.
Signed-off-by Magnus Damm <[email protected]>
---
arch/arm/mach-shmobile/smp-sh73a0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-shmobile/smp-sh73a0.c +1 -1
@@ -84,7 +84,7 @@ int __cpuinit sh73a0_boot_secondary(unsi/* enable cache coherency */ modify_scu_cpu_psr (cpu,0 ); -if (((__raw_readw (__io (PSTR )) >> (4 * cpu)) &3 ) =3 ) +if (((__raw_readl (__io (PSTR )) >> (4 * cpu)) &3 ) =3 )__raw_writel (1 << cpu,__io (WUPCR ));/* wake up */ else __raw_writel (1 << cpu,__io (SRESCR ));/* reset */