sh: use opcode_t and enable unaligned code for sh2a
authorMagnus Damm <magnus.damm@gmail.com>
Thu, 7 Feb 2008 11:04:12 +0000 (20:04 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 14 Feb 2008 05:22:09 +0000 (14:22 +0900)
commit4b5a9ef5279aed2c34d92fee62cf6d0c6ffacbaa
tree52dba448fd983fc6261e83e77a2b9addb7138917
parent4252c659a4e7f4260e4bdc87538578236c51ab2d
sh: use opcode_t and enable unaligned code for sh2a

This patch converts the unaligned access handling code to use opcode_t
instead of u16. While at it, enable unaligned access handling for sh2a.

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