commit | 0fa70efbd45a6c4fd946fa71c0a609f2c509d07c | [log] [tgz] |
---|---|---|
author | Paul Mundt <lethal@linux-sh.org> | Thu Nov 08 19:08:28 2007 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Mon Jan 28 13:18:40 2008 +0900 |
tree | ef4992b4c0f0e8e03b2d6bbe2346fff087668b99 | |
parent | d752542ade337f059d12c59c4bc9c312befa1f1e [diff] |
sh: Correct SH-5 instruction size value. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
diff --git a/include/asm-sh/system.h b/include/asm-sh/system.h index 4faa2fb..288abeb 100644 --- a/include/asm-sh/system.h +++ b/include/asm-sh/system.h
@@ -255,8 +255,10 @@ */ #ifdef CONFIG_CPU_SH2A extern unsigned int instruction_size(unsigned int insn); -#else +#elif defined(CONFIG_SUPERH32) #define instruction_size(insn) (2) +#else +#define instruction_size(insn) (4) #endif /* XXX