summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2008-03-04 20:56:21 (GMT)
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-03-06 12:18:18 (GMT)
commitb24061fadc2b996fd38baaf01986eac666d0c61b (patch)
treef6756a172c8075e9a2370435c903a5f4e785db3b
parent10debfd29c639366f26595606b51abd27ccbb028 (diff)
downloadlinux-b24061fadc2b996fd38baaf01986eac666d0c61b.tar.xz
[ARM] 4847/1: kprobes: fix compilation with CONFIG_DEBUG_FS=y
Signed-off-by: Nicolas Pitre <nico@marvell.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r--arch/arm/kernel/kprobes.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/kernel/kprobes.c b/arch/arm/kernel/kprobes.c
index a22a98c..13e371a 100644
--- a/arch/arm/kernel/kprobes.c
+++ b/arch/arm/kernel/kprobes.c
@@ -431,6 +431,11 @@ int __kprobes longjmp_break_handler(struct kprobe *p, struct pt_regs *regs)
return 0;
}
+int __kprobes arch_trampoline_kprobe(struct kprobe *p)
+{
+ return 0;
+}
+
static struct undef_hook kprobes_break_hook = {
.instr_mask = 0xffffffff,
.instr_val = KPROBE_BREAKPOINT_INSTRUCTION,