sh: Add register alignment helpers for shared flushers.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 14 Aug 2009 16:57:36 +0000 (01:57 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 14 Aug 2009 16:57:36 +0000 (01:57 +0900)
commit43bc61d86f8ea6edef2e02d1dc47617883fa9a9c
tree4f7752888f2e9ca5dcfa9680edefea12aa4a6e8d
parent0837f52463583f76670ab2350e0f1541cb0351f5
sh: Add register alignment helpers for shared flushers.

This plugs in some register alignment helpers for the shared flushers,
allowing them to also be used on SH-5. The main rationale here is that
in the SH-5 case we have a variable ABI, where the pointer size may not
equal the register width. This register extension is taken care of by
the SH-5 code already today, and is otherwise unused on the SH-4 code.
This combines the two and allows us to kill off the SH-5 implementation.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/system_32.h
arch/sh/include/asm/system_64.h
arch/sh/include/asm/types.h
arch/sh/mm/flush-sh4.c