sh: BSS init bugfix and barrier in entry point.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 27 Sep 2006 06:00:04 +0000 (15:00 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 27 Sep 2006 06:00:04 +0000 (15:00 +0900)
commitb7e108ee63624176af85b97d4d80bef6fe099395
tree747d9a2e760c6aa955dd4f228caaf433228ce5a0
parent298476220d1f793ca0ac6c9e5dc817e1ad3e9851
sh: BSS init bugfix and barrier in entry point.

A synco is needed before we jump to start_kernel().

While we're at it, also move the sh_cpu_init() jump until after
we've zeroed BSS, as this has caused some undesirable results
in sh_cpu_init().

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/head.S