aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/include/asm/bug.h
diff options
context:
space:
mode:
authorRobin Getz <robin.getz@analog.com>2010-03-23 13:27:41 -0400
committerMike Frysinger <vapier@gentoo.org>2010-05-22 14:19:04 -0400
commit6a4110c2b38da51b767e389a6fb477072cf5843c (patch)
treef9c2ea8d0b442766391ed559dca5c9c11f7ce558 /arch/blackfin/include/asm/bug.h
parentc429886a7091f9d26dee7d01c20fd822f62c35e0 (diff)
Blackfin: change the BUG opcode to an unused 16-bit opcode
The current BUG opcode includes the bit that flags the insn as a 32bit opcode, but it wasn't declaring it as 32bits. So pick an unused 16bit. URL: http://blackfin.uclinux.org/gf/tracker/5973 Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/include/asm/bug.h')
-rw-r--r--arch/blackfin/include/asm/bug.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/blackfin/include/asm/bug.h b/arch/blackfin/include/asm/bug.h
index 75f6dc336d46..8d9b1eba89c4 100644
--- a/arch/blackfin/include/asm/bug.h
+++ b/arch/blackfin/include/asm/bug.h
@@ -9,7 +9,12 @@
9 9
10#ifdef CONFIG_BUG 10#ifdef CONFIG_BUG
11 11
12#define BFIN_BUG_OPCODE 0xefcd 12/*
13 * This can be any undefined 16-bit opcode, meaning
14 * ((opcode & 0xc000) != 0xc000)
15 * Anything from 0x0001 to 0x000A (inclusive) will work
16 */
17#define BFIN_BUG_OPCODE 0x0001
13 18
14#ifdef CONFIG_DEBUG_BUGVERBOSE 19#ifdef CONFIG_DEBUG_BUGVERBOSE
15 20