Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 181064
b: refs/heads/master
c: a28b460
h: refs/heads/master
v: v3
  • Loading branch information
Paul Mundt committed Dec 21, 2009
1 parent f88048a commit bd266ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: 4b4f887fb2780e39383c1f202b72f5a2780b2d4c
refs/heads/master: a28b460ec7968f430a2d6ea2809b249ee9fe1d28
5 changes: 2 additions & 3 deletions trunk/arch/sh/kernel/hw_breakpoint.c
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,7 @@ int arch_validate_hwbkpt_settings(struct perf_event *bp,
return ret;
}

if (bp->callback)
ret = arch_store_info(bp);
ret = arch_store_info(bp);

if (ret < 0)
return ret;
Expand Down Expand Up @@ -368,7 +367,7 @@ static int __kprobes hw_breakpoint_handler(struct die_args *args)
break;
}

(bp->callback)(bp, args->regs);
perf_bp_event(bp, args->regs);

rcu_read_unlock();
}
Expand Down

0 comments on commit bd266ec

Please sign in to comment.