diff options
| -rw-r--r-- | tools/perf/util/event.c | 2 | ||||
| -rw-r--r-- | tools/perf/util/symbol.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/event.c b/tools/perf/util/event.c index dab9e754a281..7260db75b93d 100644 --- a/tools/perf/util/event.c +++ b/tools/perf/util/event.c | |||
| @@ -392,7 +392,7 @@ static void event_set_kernel_mmap_len(struct map **maps, event_t *self) | |||
| 392 | * a zero sized synthesized MMAP event for the kernel. | 392 | * a zero sized synthesized MMAP event for the kernel. |
| 393 | */ | 393 | */ |
| 394 | if (maps[MAP__FUNCTION]->end == 0) | 394 | if (maps[MAP__FUNCTION]->end == 0) |
| 395 | maps[MAP__FUNCTION]->end = ~0UL; | 395 | maps[MAP__FUNCTION]->end = ~0ULL; |
| 396 | } | 396 | } |
| 397 | 397 | ||
| 398 | static int event__process_kernel_mmap(event_t *self, | 398 | static int event__process_kernel_mmap(event_t *self, |
diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c index 0500895a45af..a348906b587d 100644 --- a/tools/perf/util/symbol.c +++ b/tools/perf/util/symbol.c | |||
| @@ -121,7 +121,7 @@ static void __map_groups__fixup_end(struct map_groups *self, enum map_type type) | |||
| 121 | * We still haven't the actual symbols, so guess the | 121 | * We still haven't the actual symbols, so guess the |
| 122 | * last map final address. | 122 | * last map final address. |
| 123 | */ | 123 | */ |
| 124 | curr->end = ~0UL; | 124 | curr->end = ~0ULL; |
| 125 | } | 125 | } |
| 126 | 126 | ||
| 127 | static void map_groups__fixup_end(struct map_groups *self) | 127 | static void map_groups__fixup_end(struct map_groups *self) |
