git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf: Make bp_len type to u64 generic across the arch
[safe/jmp/linux-2.6]
/
include
/
linux
/
hw_breakpoint.h
diff --git
a/include/linux/hw_breakpoint.h
b/include/linux/hw_breakpoint.h
index
070ba06
..
5977b72
100644
(file)
--- a/
include/linux/hw_breakpoint.h
+++ b/
include/linux/hw_breakpoint.h
@@
-44,7
+44,7
@@
static inline int hw_breakpoint_type(struct perf_event *bp)
return bp->attr.bp_type;
}
-static inline
int
hw_breakpoint_len(struct perf_event *bp)
+static inline
unsigned long
hw_breakpoint_len(struct perf_event *bp)
{
return bp->attr.bp_len;
}