summaryrefslogtreecommitdiffstats
path: root/arch/sh/include
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-09-08 18:10:10 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-09-08 18:10:10 +0900
commit174b5c9923e0170c844e03d55a9f3fb3b329a8b7 (patch)
tree09192f40fab1bed13d2bb5b2b6d08ddff3f5621d /arch/sh/include
parent037c10a612e8b7461e33672fb3848807ac6e2346 (diff)
downloadop-kernel-dev-174b5c9923e0170c844e03d55a9f3fb3b329a8b7.zip
op-kernel-dev-174b5c9923e0170c844e03d55a9f3fb3b329a8b7.tar.gz
sh: kprobes: Use trapa #0x3a for breakpoint trap.
Not all parts support trapa #0xff, so use something within the debug trap range that's accessible on all parts. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include')
-rw-r--r--arch/sh/include/asm/kprobes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/include/asm/kprobes.h b/arch/sh/include/asm/kprobes.h
index 756a5cd..6078d8e 100644
--- a/arch/sh/include/asm/kprobes.h
+++ b/arch/sh/include/asm/kprobes.h
@@ -7,7 +7,7 @@
#include <linux/ptrace.h>
typedef u16 kprobe_opcode_t;
-#define BREAKPOINT_INSTRUCTION 0xc3ff
+#define BREAKPOINT_INSTRUCTION 0xc33a
#define MAX_INSN_SIZE 16
#define MAX_STACK_SIZE 64
OpenPOWER on IntegriCloud