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

Commit 358c6ac0 authored by Ananth N Mavinakayanahalli's avatar Ananth N Mavinakayanahalli Committed by Linus Torvalds
Browse files

[PATCH] ppc64 kprobes: don't eat dabr/iabr exceptions



Kprobes was eating the hardware instruction and data address
breakpoint exceptions.  This patch fixes it; kprobes doesn't use those
exceptions at all and should ignore them.

Signed-off-by: default avatarAnanth N Mavinakayanahalli <amavin@redhat.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 7840e5e9
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -233,8 +233,6 @@ int kprobe_exceptions_notify(struct notifier_block *self, unsigned long val,
	 */
	 */
	preempt_disable();
	preempt_disable();
	switch (val) {
	switch (val) {
	case DIE_IABR_MATCH:
	case DIE_DABR_MATCH:
	case DIE_BPT:
	case DIE_BPT:
		if (kprobe_handler(args->regs))
		if (kprobe_handler(args->regs))
			ret = NOTIFY_STOP;
			ret = NOTIFY_STOP;