]> git.baikalelectronics.ru Git - kernel.git/commit
sh: Provide a FLAT_PLAT_INIT() definition.
authorTakashi YOSHII <yoshii.takashi@renesas.com>
Mon, 11 Aug 2008 11:12:52 +0000 (20:12 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 11 Aug 2008 11:17:55 +0000 (20:17 +0900)
commit86d65de03e1ea7856f9f94d14e588bba80218534
treeb476a3bbd7328b649980834bdcf7232005870a74
parent786176016ad6955c9a4ba32e2ef269ba1d328c58
sh: Provide a FLAT_PLAT_INIT() definition.

SH needs this in order to make sure that r4 has a sane value at process
entry time, which the libc expects has already been taken care of.

Fixes random crashes in flat binaries.

Signed-off-by: Takashi YOSHII <yoshii.takashi@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/flat.h