]> git.baikalelectronics.ru Git - kernel.git/commit
sh: Support for SH-2A 32-bit opcodes.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 8 May 2007 05:50:59 +0000 (14:50 +0900)
committerPaul Mundt <lethal@hera.kernel.org>
Wed, 9 May 2007 01:35:01 +0000 (01:35 +0000)
commitd3a7f2f82d586426223ef233503527aa8059f534
tree125c0c923701c5b6f823a7b614c295e06370d46c
parent6b282bd2b288f348ed51a0d10c7cd6c4a43fa4bf
sh: Support for SH-2A 32-bit opcodes.

SH-2A supports both 16 and 32-bit instructions, add a simple helper
for figuring out the instruction size in the places where there are
hardcoded 16-bit assumptions.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/sh2a/Makefile
arch/sh/kernel/cpu/sh2a/opcode_helper.c [new file with mode: 0644]
arch/sh/kernel/kgdb_stub.c
arch/sh/kernel/process.c
arch/sh/kernel/signal.c
include/asm-sh/system.h