diff options
author | Ananth N Mavinakayanahalli <amavin@redhat.com> | 2005-06-08 01:33:43 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-08 13:18:59 -0400 |
commit | 358c6ac0dd4ffa5e44d59d4008a2627aa2f02b6f (patch) | |
tree | 3505f699e2de7a5c74bbe9d7073b2656d840e1d7 /arch | |
parent | 7840e5e95c1a8622425f11454600a49b6c718886 (diff) |
[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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/ppc64/kernel/kprobes.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/ppc64/kernel/kprobes.c b/arch/ppc64/kernel/kprobes.c index 103daaf73573..5a9f47b18c45 100644 --- a/arch/ppc64/kernel/kprobes.c +++ b/arch/ppc64/kernel/kprobes.c | |||
@@ -233,8 +233,6 @@ int kprobe_exceptions_notify(struct notifier_block *self, unsigned long val, | |||
233 | */ | 233 | */ |
234 | preempt_disable(); | 234 | preempt_disable(); |
235 | switch (val) { | 235 | switch (val) { |
236 | case DIE_IABR_MATCH: | ||
237 | case DIE_DABR_MATCH: | ||
238 | case DIE_BPT: | 236 | case DIE_BPT: |
239 | if (kprobe_handler(args->regs)) | 237 | if (kprobe_handler(args->regs)) |
240 | ret = NOTIFY_STOP; | 238 | ret = NOTIFY_STOP; |