sh: Handle unaligned 16-bit instructions on SH-2A.
authorPaul Mundt <lethal@linux-sh.org>
Thu, 24 Sep 2009 08:38:18 +0000 (17:38 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 24 Sep 2009 08:38:18 +0000 (17:38 +0900)
commit23c4c82171008c8b18d8627c9741cdd577631cea
tree8c9d2950fe69cbd6c1aa96ad6c698bbeb5c92325
parentacf3cc283f1ea4ed7e579663eefed62f0aa572da
sh: Handle unaligned 16-bit instructions on SH-2A.

This adds some sanity checking in the unaligned instruction handler to
verify the instruction size, which enables basic support for 16-bit
fixups on SH-2A parts.

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