sh: Tidy up NEFF-based sign extension for SH-5.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 4 Aug 2009 08:14:39 +0000 (17:14 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 4 Aug 2009 08:14:39 +0000 (17:14 +0900)
commitc7914834ef3b8a396b7e82ea34ac07cdcfe6f868
tree59f6f76dfca96cd7ad330ae3c281cfa57e98f44e
parentc0fe478dbb14fd32e71d1383dbe302b54ce94134
sh: Tidy up NEFF-based sign extension for SH-5.

This consolidates all of the NEFF-based sign extension for SH-5.
In the future the other SH code will need to make use of this as well,
so make it generic in preparation for more 32/64 consolidation.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/pgtable.h
arch/sh/kernel/process_64.c
arch/sh/kernel/signal_64.c
arch/sh/mm/fault_64.c
arch/sh/mm/tlb-sh5.c
arch/sh/mm/tlbflush_64.c