projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d752542
)
sh: Correct SH-5 instruction size value.
author
Paul Mundt
<lethal@linux-sh.org>
Thu, 8 Nov 2007 10:08:28 +0000
(19:08 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Mon, 28 Jan 2008 04:18:40 +0000
(13:18 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
include/asm-sh/system.h
patch
|
blob
|
history
diff --git
a/include/asm-sh/system.h
b/include/asm-sh/system.h
index
4faa2fb
..
288abeb
100644
(file)
--- 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);
-#el
se
+#el
if defined(CONFIG_SUPERH32)
#define instruction_size(insn) (2)
+#else
+#define instruction_size(insn) (4)
#endif
/* XXX