From: Paul Mundt Date: Thu, 8 Nov 2007 10:08:28 +0000 (+0900) Subject: sh: Correct SH-5 instruction size value. X-Git-Tag: v2.6.25-rc1~1169^2~180 X-Git-Url: http://git.samba.org/samba.git/?p=sfrench%2Fcifs-2.6.git;a=commitdiff_plain;h=0fa70efbd45a6c4fd946fa71c0a609f2c509d07c sh: Correct SH-5 instruction size value. Signed-off-by: Paul Mundt --- diff --git a/include/asm-sh/system.h b/include/asm-sh/system.h index 4faa2fb88616..288abeb5476f 100644 --- a/include/asm-sh/system.h +++ b/include/asm-sh/system.h @@ -255,8 +255,10 @@ static inline void *set_exception_table_evt(unsigned int evt, void *handler) */ #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