diff options
Diffstat (limited to 'tools/perf/util/parse-events.c')
-rw-r--r-- | tools/perf/util/parse-events.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/parse-events.c b/tools/perf/util/parse-events.c index 201b40f0ca0b..f542a631388b 100644 --- a/tools/perf/util/parse-events.c +++ b/tools/perf/util/parse-events.c | |||
@@ -569,7 +569,7 @@ int parse_events_add_breakpoint(struct list_head *list, int *idx, | |||
569 | char name[MAX_NAME_LEN]; | 569 | char name[MAX_NAME_LEN]; |
570 | 570 | ||
571 | memset(&attr, 0, sizeof(attr)); | 571 | memset(&attr, 0, sizeof(attr)); |
572 | attr.bp_addr = (u64) ptr; | 572 | attr.bp_addr = (unsigned long) ptr; |
573 | 573 | ||
574 | if (parse_breakpoint_type(type, &attr)) | 574 | if (parse_breakpoint_type(type, &attr)) |
575 | return -EINVAL; | 575 | return -EINVAL; |