sh: break out unaligned sign extension code
authorMagnus Damm <magnus.damm@gmail.com>
Wed, 6 Feb 2008 15:02:50 +0000 (00:02 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 14 Feb 2008 05:22:07 +0000 (14:22 +0900)
commit86c0179c9307bd600a96a44d623814c33bdbe0f0
tree6651026da498831b60c4c3694781b8ac9d44facf
parent1cfb629cfa4a8d9b65c0f60c65ec731bde82d60c
sh: break out unaligned sign extension code

Break out the sign extension code since it's used in multiple places.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/traps_32.c