sh: Optimize the setup_rt_frame() I-cache flush.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 14 Oct 2009 05:21:40 +0000 (14:21 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 14 Oct 2009 06:49:45 +0000 (15:49 +0900)
commit4d2947f7c69f812f09ff0e5cdc98dfa5317a4d81
treed83a6c87ef83d8cc248809ee6e9a65fb25e92c45
parenta66c2edea56c291a6f6a52f07496ebb97c0880e8
sh: Optimize the setup_rt_frame() I-cache flush.

This only needs to flush the return code via the legacy path, and just
invalidates uselessly otherwise. This makes the behaviour consistent for
all of the trampoline setup paths.

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