From cd3eb4136291c02758fdfb8e0d0f75cece03b27d Mon Sep 17 00:00:00 2001 From: Ian Munsie Date: Thu, 25 Nov 2010 15:12:53 +1100 Subject: [PATCH] --- yaml --- r: 223845 b: refs/heads/master c: 9d1faba5fe410558099f13cfada2eab03186769d h: refs/heads/master i: 223843: 8ce06714e42aa8dad393fdff7563c42469bcec3b v: v3 --- [refs] | 2 +- trunk/tools/perf/util/event.c | 2 +- trunk/tools/perf/util/symbol.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index f245a0fefde9..8784ed6d57eb 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 37982ba0a0630066a6a0844a66aedaf91c66db84 +refs/heads/master: 9d1faba5fe410558099f13cfada2eab03186769d diff --git a/trunk/tools/perf/util/event.c b/trunk/tools/perf/util/event.c index dab9e754a281..7260db75b93d 100644 --- a/trunk/tools/perf/util/event.c +++ b/trunk/tools/perf/util/event.c @@ -392,7 +392,7 @@ static void event_set_kernel_mmap_len(struct map **maps, event_t *self) * a zero sized synthesized MMAP event for the kernel. */ if (maps[MAP__FUNCTION]->end == 0) - maps[MAP__FUNCTION]->end = ~0UL; + maps[MAP__FUNCTION]->end = ~0ULL; } static int event__process_kernel_mmap(event_t *self, diff --git a/trunk/tools/perf/util/symbol.c b/trunk/tools/perf/util/symbol.c index 0500895a45af..a348906b587d 100644 --- a/trunk/tools/perf/util/symbol.c +++ b/trunk/tools/perf/util/symbol.c @@ -121,7 +121,7 @@ static void __map_groups__fixup_end(struct map_groups *self, enum map_type type) * We still haven't the actual symbols, so guess the * last map final address. */ - curr->end = ~0UL; + curr->end = ~0ULL; } static void map_groups__fixup_end(struct map_groups *self)