Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 169703
b: refs/heads/master
c: 688bcaf
h: refs/heads/master
i:
  169701: a0aba39
  169699: 74a967b
  169695: 716a34d
v: v3
  • Loading branch information
Ingo Molnar committed Nov 14, 2009
1 parent 2afd1a1 commit 32c0eae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 687b16fb617bd446439425a368ad7c7bbd202c73
refs/heads/master: 688bcaff291cf2fe2734e43f2793d4d05b850518
3 changes: 2 additions & 1 deletion trunk/include/linux/hw_breakpoint.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ enum {
HW_BREAKPOINT_X = 4,
};

#ifdef CONFIG_HAVE_HW_BREAKPOINT

static inline unsigned long hw_breakpoint_addr(struct perf_event *bp)
{
return bp->attr.bp_addr;
Expand All @@ -31,7 +33,6 @@ static inline int hw_breakpoint_len(struct perf_event *bp)
return bp->attr.bp_len;
}

#ifdef CONFIG_HAVE_HW_BREAKPOINT
extern struct perf_event *
register_user_hw_breakpoint(unsigned long addr,
int len,
Expand Down

0 comments on commit 32c0eae

Please sign in to comment.