sh: Force boot CPU in to light sleep mode for SH-X3 SMP.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 16 Oct 2009 08:19:08 +0000 (17:19 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 16 Oct 2009 08:19:08 +0000 (17:19 +0900)
commit94eab0bb206443dd7480349804f64e2bba8dc6e1
tree030da6da8d53d74e95ddc32e13eba74e78de661f
parentabeaf33a4101764291ec79cf286e08c0966eb26e
sh: Force boot CPU in to light sleep mode for SH-X3 SMP.

All of the secondary CPUs are forced in to light sleep mode, but we were
missing the same initialization for the boot CPU. This resulted in
inconsistent sleep modes depending on which CPU we were on, confusing the
idle loop when not polling.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/sh4a/smp-shx3.c