Skip to content

Commit

Permalink
[ARM] 4847/1: kprobes: fix compilation with CONFIG_DEBUG_FS=y
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Pitre <nico@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Nicolas Pitre authored and Russell King committed Mar 6, 2008
1 parent 10debfd commit b24061f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/arm/kernel/kprobes.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b24061f

Please sign in to comment.