[PATCH] ppc64 kprobes: don't eat dabr/iabr exceptions
authorAnanth N Mavinakayanahalli <amavin@redhat.com>
Wed, 8 Jun 2005 05:33:43 +0000 (15:33 +1000)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 8 Jun 2005 17:18:59 +0000 (10:18 -0700)
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: Ananth N Mavinakayanahalli <amavin@redhat.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc64/kernel/kprobes.c

index 103daaf735734e5a6006d95e5a9ecda68cc01f21..5a9f47b18c45ee06b86486afcb2a84dc88b67ad9 100644 (file)
@@ -233,8 +233,6 @@ int kprobe_exceptions_notify(struct notifier_block *self, unsigned long val,
         */
        preempt_disable();
        switch (val) {
-       case DIE_IABR_MATCH:
-       case DIE_DABR_MATCH:
        case DIE_BPT:
                if (kprobe_handler(args->regs))
                        ret = NOTIFY_STOP;