projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d86bfb1
)
Blackfin: fix decoding of opcodes 41-47 in decode_instruction()
author
Roel Kluin
<roel.kluin@gmail.com>
Fri, 8 Jan 2010 19:06:22 +0000
(20:06 +0100)
committer
Mike Frysinger
<vapier@gentoo.org>
Tue, 9 Mar 2010 05:30:48 +0000
(
00:30
-0500)
This condition allowed only decoding of opcode 0x0040
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/kernel/traps.c
patch
|
blob
|
history
diff --git
a/arch/blackfin/kernel/traps.c
b/arch/blackfin/kernel/traps.c
index
d3cbcd6
..
870d74b
100644
(file)
--- a/
arch/blackfin/kernel/traps.c
+++ b/
arch/blackfin/kernel/traps.c
@@
-712,7
+712,7
@@
static void decode_instruction(unsigned short *address)
verbose_printk("RTE");
else if (opcode == 0x0025)
verbose_printk("EMUEXCPT");
- else if (opcode
=
= 0x0040 && opcode <= 0x0047)
+ else if (opcode
>
= 0x0040 && opcode <= 0x0047)
verbose_printk("STI R%i", opcode & 7);
else if (opcode >= 0x0050 && opcode <= 0x0057)
verbose_printk("JUMP (P%i)", opcode & 7);