浏览代码

[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: Ananth N Mavinakayanahalli <amavin@redhat.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Ananth N Mavinakayanahalli 20 年之前
父节点
当前提交
358c6ac0dd
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      arch/ppc64/kernel/kprobes.c

+ 0 - 2
arch/ppc64/kernel/kprobes.c

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