diff options
Diffstat (limited to 'tools/perf/util/event.h')
-rw-r--r-- | tools/perf/util/event.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/event.h b/tools/perf/util/event.h index c7a78eef8e52..d9a65d91e925 100644 --- a/tools/perf/util/event.h +++ b/tools/perf/util/event.h | |||
@@ -103,10 +103,10 @@ void event__print_totals(void); | |||
103 | 103 | ||
104 | enum map_type { | 104 | enum map_type { |
105 | MAP__FUNCTION = 0, | 105 | MAP__FUNCTION = 0, |
106 | |||
107 | MAP__NR_TYPES, | ||
108 | }; | 106 | }; |
109 | 107 | ||
108 | #define MAP__NR_TYPES (MAP__FUNCTION + 1) | ||
109 | |||
110 | struct map { | 110 | struct map { |
111 | union { | 111 | union { |
112 | struct rb_node rb_node; | 112 | struct rb_node rb_node; |