1
0
Fork 0

[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>
hifive-unleashed-5.1
Nicolas Pitre 2008-03-04 21:56:21 +01:00 committed by Russell King
parent 10debfd29c
commit b24061fadc
1 changed files with 5 additions and 0 deletions

View File

@ -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,