Blackfin: change the BUG opcode to an unused 16-bit opcode
[safe/jmp/linux-2.6] / arch / blackfin / include / asm / bug.h
index 75f6dc3..8d9b1eb 100644 (file)
@@ -9,7 +9,12 @@
 
 #ifdef CONFIG_BUG
 
-#define BFIN_BUG_OPCODE        0xefcd
+/*
+ * This can be any undefined 16-bit opcode, meaning
+ * ((opcode & 0xc000) != 0xc000)
+ * Anything from 0x0001 to 0x000A (inclusive) will work
+ */
+#define BFIN_BUG_OPCODE        0x0001
 
 #ifdef CONFIG_DEBUG_BUGVERBOSE