Skip to contentSkip to conversation

ppc64 kprobes: don't eat dabr/iabr exceptions

PATCH New Paul Mackerras 1 participant 1 message Jun 8, 2005

lore
Share & tools
lore
#0 lore raw

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

From: Ananth N Mavinakayanahalli <[email protected]>

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.

arch/ppc64/kernel/kprobes.c +0 -2
diff -urN linux-2.6/arch/ppc64/kernel/kprobes.c g5-ppc64/arch/ppc64/kernel/kprobes.c
@@ -237,8 +237,6 @@
 	 */
 	preempt_disable();
 	switch (val) {
-	case DIE_IABR_MATCH:
-	case DIE_DABR_MATCH:
 	case DIE_BPT:
 		if (kprobe_handler(args->regs))
 			ret = NOTIFY_STOP;