Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b24061fa authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Russell King
Browse files

[ARM] 4847/1: kprobes: fix compilation with CONFIG_DEBUG_FS=y

parent 10debfd2
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -431,6 +431,11 @@ int __kprobes longjmp_break_handler(struct kprobe *p, struct pt_regs *regs)
	return 0;
	return 0;
}
}


int __kprobes arch_trampoline_kprobe(struct kprobe *p)
{
	return 0;
}

static struct undef_hook kprobes_break_hook = {
static struct undef_hook kprobes_break_hook = {
	.instr_mask	= 0xffffffff,
	.instr_mask	= 0xffffffff,
	.instr_val	= KPROBE_BREAKPOINT_INSTRUCTION,
	.instr_val	= KPROBE_BREAKPOINT_INSTRUCTION,