]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit9b9d6b2a4f6df5544a10de44760755fe757259e5
treeb476a3bbd7328b649980834bdcf7232005870a74
parent74c27c43ebd020fcb65364613503f6c08dc6f535
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