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

Commit 408133e9 authored by Russell King's avatar Russell King
Browse files

Merge branch 'kprobes' of git://git.linaro.org/people/nico/linux into fixes

parents ef267500 cdc25361
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -39,10 +39,13 @@ typedef u32 kprobe_opcode_t;
struct kprobe;
typedef void (kprobe_insn_handler_t)(struct kprobe *, struct pt_regs *);

typedef unsigned long (kprobe_check_cc)(unsigned long);

/* Architecture specific copy of original instruction. */
struct arch_specific_insn {
	kprobe_opcode_t		*insn;
	kprobe_insn_handler_t	*insn_handler;
	kprobe_check_cc		*insn_check_cc;
};

struct prev_kprobe {
+457 −320

File changed.

Preview size limit exceeded, changes collapsed.

+2 −1
Original line number Diff line number Diff line
@@ -134,6 +134,7 @@ static void __kprobes singlestep(struct kprobe *p, struct pt_regs *regs,
				 struct kprobe_ctlblk *kcb)
{
	regs->ARM_pc += 4;
	if (p->ainsn.insn_check_cc(regs->ARM_cpsr))
		p->ainsn.insn_handler(p, regs);
}