From: Roel Kluin Date: Fri, 8 Jan 2010 19:06:22 +0000 (+0100) Subject: Blackfin: fix decoding of opcodes 41-47 in decode_instruction() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=48a74f9d1b381471397097851531c4e392f97451;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git Blackfin: fix decoding of opcodes 41-47 in decode_instruction() This condition allowed only decoding of opcode 0x0040 Signed-off-by: Roel Kluin Signed-off-by: Mike Frysinger --- 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) 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);