* [PATCH] ppc64 kprobes: don't eat dabr/iabr exceptions
@ 2005-06-08 5:33 Paul Mackerras
0 siblings, 0 replies; only message in thread
From: Paul Mackerras @ 2005-06-08 5:33 UTC (permalink / raw)
To: torvalds, akpm; +Cc: anton, linux-kernel, amavin
From: Ananth N Mavinakayanahalli <amavin@redhat.com>
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>
diff -urN linux-2.6/arch/ppc64/kernel/kprobes.c g5-ppc64/arch/ppc64/kernel/kprobes.c
--- linux-2.6/arch/ppc64/kernel/kprobes.c 2005-04-26 15:37:55.000000000 +1000
+++ g5-ppc64/arch/ppc64/kernel/kprobes.c 2005-06-08 15:16:51.000000000 +1000
@@ -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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-06-08 5:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-08 5:33 [PATCH] ppc64 kprobes: don't eat dabr/iabr exceptions Paul Mackerras
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®