Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 330273
b: refs/heads/master
c: 3f4693e
h: refs/heads/master
i:
  330271: fa2fecd
v: v3
  • Loading branch information
Michael Neuling authored and Benjamin Herrenschmidt committed Sep 7, 2012
1 parent 613d74a commit 906be65
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ab046a937629172d5da2bbf4867d89507280759f
refs/heads/master: 3f4693eeeae45e9253031633adb0c7fde13a5026
8 changes: 4 additions & 4 deletions trunk/arch/powerpc/kernel/hw_breakpoint.c
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ int __kprobes single_step_dabr_instruction(struct die_args *args)
{
struct pt_regs *regs = args->regs;
struct perf_event *bp = NULL;
struct arch_hw_breakpoint *bp_info;
struct arch_hw_breakpoint *info;

bp = current->thread.last_hit_ubp;
/*
Expand All @@ -304,16 +304,16 @@ int __kprobes single_step_dabr_instruction(struct die_args *args)
if (!bp)
return NOTIFY_DONE;

bp_info = counter_arch_bp(bp);
info = counter_arch_bp(bp);

/*
* We shall invoke the user-defined callback function in the single
* stepping handler to confirm to 'trigger-after-execute' semantics
*/
if (!bp_info->extraneous_interrupt)
if (!info->extraneous_interrupt)
perf_bp_event(bp, regs);

set_dabr(bp_info->address | bp_info->type | DABR_TRANSLATION);
set_dabr(info->address | info->type | DABR_TRANSLATION);
current->thread.last_hit_ubp = NULL;

/*
Expand Down

0 comments on commit 906be65

Please sign in to comment.