Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0fa70efbd45a6c4fd946fa71c0a609f2c509d07c
Commit:     0fa70efbd45a6c4fd946fa71c0a609f2c509d07c
Parent:     d752542ade337f059d12c59c4bc9c312befa1f1e
Author:     Paul Mundt <[EMAIL PROTECTED]>
AuthorDate: Thu Nov 8 19:08:28 2007 +0900
Committer:  Paul Mundt <[EMAIL PROTECTED]>
CommitDate: Mon Jan 28 13:18:40 2008 +0900

    sh: Correct SH-5 instruction size value.
    
    Signed-off-by: Paul Mundt <[EMAIL PROTECTED]>
---
 include/asm-sh/system.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

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 @@ 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
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to