sh: Simplify kernel_thread_helper() for sh32.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 17 Dec 2008 03:20:15 +0000 (12:20 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 22 Dec 2008 09:44:44 +0000 (18:44 +0900)
commit43f8f9b95b65dc05368cd82268895b9508b17d50
treea0709b718dfadce2f80bb24c0ab1a27faf3b3016
parent7b80fb32b39a51ce3e1afa051f5a616eb8ecbed3
sh: Simplify kernel_thread_helper() for sh32.

This can use the same implementation as sh64, the generated assembly is
the same between the new and old version, so there is not much point in
leaving it open coded in inline assembly.

This is preparatory work for future consolidation of the _32/_64
variants.

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