aboutsummaryrefslogtreecommitdiff
path: root/arch/sh/include/asm/kprobes.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-06-14 15:16:53 +0900
committerPaul Mundt <lethal@linux-sh.org>2010-06-14 15:16:53 +0900
commiteaaaeef392cb245e415c31d480ed2d5a466fd88f (patch)
tree483761495ceb9cc3a277769f52d0ec8abeed1ac0 /arch/sh/include/asm/kprobes.h
parent9973e38575070b70c68bad177fb5056548fea349 (diff)
sh: Add kprobe-based event tracer.
This follows the x86/ppc changes for kprobe-based event tracing on sh. While kprobes is only supported on 32-bit sh, we provide the API for HAVE_REGS_AND_STACK_ACCESS_API for both 32 and 64-bit. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/kprobes.h')
-rw-r--r--arch/sh/include/asm/kprobes.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/sh/include/asm/kprobes.h b/arch/sh/include/asm/kprobes.h
index 036c3311233..134f3980e44 100644
--- a/arch/sh/include/asm/kprobes.h
+++ b/arch/sh/include/asm/kprobes.h
@@ -16,7 +16,6 @@ typedef insn_size_t kprobe_opcode_t;
? (MAX_STACK_SIZE) \
: (((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR)))
-#define regs_return_value(_regs) ((_regs)->regs[0])
#define flush_insn_slot(p) do { } while (0)
#define kretprobe_blacklist_size 0