perf: Make bp_len type to u64 generic across the arch
[safe/jmp/linux-2.6] / include / linux / hw_breakpoint.h
index 070ba06..5977b72 100644 (file)
@@ -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;
 }