]> bbs.cooldavid.org Git - net-next-2.6.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)
commitbd0799977cb9b68aa6a39e9630aeea4778a58385
tree125c0c923701c5b6f823a7b614c295e06370d46c
parent51c8b856f5edfa45d956721aa6d6ebaa15699062
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