diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2010-01-08 14:06:22 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-03-09 00:30:48 -0500 |
commit | 48a74f9d1b381471397097851531c4e392f97451 (patch) | |
tree | 6a1fe11ef3d8317c10a9d502b91863d993855805 | |
parent | d86bfb1600db38e8387beee0aaab4263cfd728a2 (diff) |
Blackfin: fix decoding of opcodes 41-47 in decode_instruction()
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>
-rw-r--r-- | arch/blackfin/kernel/traps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/kernel/traps.c b/arch/blackfin/kernel/traps.c index d3cbcd6bd985..870d74b1b407 100644 --- a/arch/blackfin/kernel/traps.c +++ b/arch/blackfin/kernel/traps.c | |||
@@ -712,7 +712,7 @@ static void decode_instruction(unsigned short *address) | |||
712 | verbose_printk("RTE"); | 712 | verbose_printk("RTE"); |
713 | else if (opcode == 0x0025) | 713 | else if (opcode == 0x0025) |
714 | verbose_printk("EMUEXCPT"); | 714 | verbose_printk("EMUEXCPT"); |
715 | else if (opcode == 0x0040 && opcode <= 0x0047) | 715 | else if (opcode >= 0x0040 && opcode <= 0x0047) |
716 | verbose_printk("STI R%i", opcode & 7); | 716 | verbose_printk("STI R%i", opcode & 7); |
717 | else if (opcode >= 0x0050 && opcode <= 0x0057) | 717 | else if (opcode >= 0x0050 && opcode <= 0x0057) |
718 | verbose_printk("JUMP (P%i)", opcode & 7); | 718 | verbose_printk("JUMP (P%i)", opcode & 7); |