Title: [8687] trunk/arch/blackfin/kernel/trace.c: Make sure the BUG opcode is decoded in the trace properly.
- Revision
- 8687
- Author
- rgetz
- Date
- 2010-05-04 14:37:34 -0400 (Tue, 04 May 2010)
Log Message
Make sure the BUG opcode is decoded in the trace properly.
Modified Paths
Diff
Modified: trunk/arch/blackfin/kernel/trace.c (8686 => 8687)
--- trunk/arch/blackfin/kernel/trace.c 2010-05-04 14:59:21 UTC (rev 8686)
+++ trunk/arch/blackfin/kernel/trace.c 2010-05-04 18:37:34 UTC (rev 8687)
@@ -587,8 +587,9 @@
static void decode_opcode(unsigned int opcode)
{
-
- if ((opcode & 0xffffff00) == ProgCtrl_opcode)
+ if (opcode == BFIN_BUG_OPCODE)
+ pr_cont("BUG");
+ else if ((opcode & 0xffffff00) == ProgCtrl_opcode)
decode_ProgCtrl_0(opcode);
else if ((opcode & 0xfffff000) == BRCC_opcode)
decode_BRCC_0(opcode);
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits